android / android/android-test
Need access to a Context statically; currently not obtainable from application constructor
Open
p3
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Description
One approach would be to expose a method for getting the base context (parent of application) on InstrumentationRegistry, and that could be seeded in newApplication() in MonitoringInstrumentation.
Imported from b/76147120
Contributor guide
Research direction
Start by reading InstrumentationRegistry and MonitoringInstrumentation, especially newApplication(), to understand how the base context is currently initialized. Confirm the intended static access point and verify that the base context is available after application setup; the issue does not name a test file to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile-dev, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100