android / android/codelab-android-workmanager
SaveImageToFileWorker doesn't execute even after the device has been plugged in
- Dominant language
- Kotlin
- Stars
- 557
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
The 12th section of the codelab (the part on setting constraints) says that once the device or emulator is plugged in, SaveImageToFileWorker will stop being suspended by the 'requiresCharging' constraint but when the app is run on an emulator or device using Android 10 or Android 11, the function does not resume even when it is plugged and left to charge.
Contributor guide
Research direction
Start with the 12th codelab section on setting constraints and reproduce the issue with SaveImageToFileWorker on an Android 10 or Android 11 emulator or device. Check whether plugging in and leaving the device charging releases the requiresCharging constraint; done means the worker resumes as the codelab describes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100