android / android/android-test
Provide api for setting START_ACTIVITY_TIMEOUT_SECONDS
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Description
### Description
androidx.test.runner.MonitoringInstrumentation#startActivitySync has fixed allowed activity start timeout 45 seconds which in some scenarios can be insufficient. E.g. when activity is starting some long background task in onCreate and ProgressBar is constantly refreshing.
### AndroidX Test and Android OS Versions
1.2.0
Contributor guide
Research direction
Start at androidx.test.runner.MonitoringInstrumentation#startActivitySync and locate the fixed START_ACTIVITY_TIMEOUT_SECONDS value. Trace how the timeout is used, then identify the existing tests for activity startup. Done means callers can set the timeout through a public API and the configured value governs the wait without breaking current behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100