Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced WorkManager and Testing #34

Open
Stepman95 opened this issue Jun 20, 2024 · 0 comments
Open

Advanced WorkManager and Testing #34

Stepman95 opened this issue Jun 20, 2024 · 0 comments

Comments

@Stepman95
Copy link

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-verify-background-work?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-7-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-verify-background-work#6

Specify the language of the codelab if it is not English:

In which task and step of the codelab can this issue be found?

Task 7 - Test with emulator

Describe the problem

In step 1 it is written: "On an emulator, change the Charge level in the Extended Controls window to be 15% or lower to simulate a low battery scenario, Charger connection to AC charger, and Battery status to Not charging". However only when Charger connection is set to "None" (and not to "AC charger") the suggested test works, that is with a battery level below 15% the WorkManager does not run the blurWorker work request

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions
_Android Studio version:
Android Studio Koala | 2024.1.1
Build #AI-241.15989.150.2411.11948838, built on June 10, 2024
Runtime version: 17.0.10+0--11609105 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
ide.experimental.ui=true

_API version of the emulator: 34

Additional information
Include screenshots if they would be useful in clarifying the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant