850226438f7ff51724f86cc7cc1c5c03afe91399 |
|
15-May-2018 |
Rahul Ravikumar <rahulrav@google.com> |
Fixes a bug in ForceStopRunnable, Schedulers which causes workers to be rescheduled. - ForceStopRunnable now creates alarms for a designated receiver. - WorkSpecDao ensures eligible WorkSpecs have not been marked scheduled. - Update WorkSpecDaoTests & SystemAlarmDispatcherTests. Fixes: b/79660657, b/79497378 Test: Updated unit tests & integration test app. Change-Id: I23b17acafbac843b71b2b73d3755ade2404e4bd0
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/SleepWorker.java
|