Investigate why can't trigger WorkManager like JobScheduler #3
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
question
Further information is requested
With job scheduler, we can use the following adb command to force a job to run (without wait for the minimal 15minutes):
adb shell cmd jobscheduler run -f <com.pkg.name> <JOB_ID>
reference: AOSP commit
to figure out what is the job id:
adb shell dumpsys jobscheduler | <grep|findstr> <com.pkg.name>
Since WorkManager uses JobScheduler on newer devices, i'm not sure why this command not works.
Let's investigate.
The text was updated successfully, but these errors were encountered: