Closed larryng closed 5 years ago
Merged. Thanks!
Released as 0.9.1
On Thu, Jan 3, 2019 at 4:25 PM Larry Ng notifications@github.com wrote:
Addresses #6 https://github.com/square/RxIdler/issues/6
This patch resets ScheduledWork state to idle after running if the work is meant to be periodically invoked.
(remake of #13 https://github.com/square/RxIdler/pull/13, which I closed due to a false alarm)
You can view, comment on, or merge this pull request online at:
https://github.com/square/RxIdler/pull/14 Commit Summary
- Fix IllegalStateException when scheduling periodic work
File Changes
- M rx1-idler/src/main/java/com/squareup/rx/idler/DelegatingIdlingResourceScheduler.java https://github.com/square/RxIdler/pull/14/files#diff-0 (20)
- M rx1-idler/src/test/java/com/squareup/rx/idler/DelegatingIdlingResourceSchedulerTest.java https://github.com/square/RxIdler/pull/14/files#diff-1 (2)
- M rx2-idler/src/main/java/com/squareup/rx2/idler/DelegatingIdlingResourceScheduler.java https://github.com/square/RxIdler/pull/14/files#diff-2 (21)
- M rx2-idler/src/test/java/com/squareup/rx2/idler/DelegatingIdlingResourceSchedulerTest.java https://github.com/square/RxIdler/pull/14/files#diff-3 (2)
Patch Links:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/square/RxIdler/pull/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEEEVgyoBu2NfIzKUnRzGEnXpofKGTFks5u_nVRgaJpZM4Zoygz .
Addresses https://github.com/square/RxIdler/issues/6
This patch resets ScheduledWork state to idle after running if the work is meant to be periodically invoked.
(remake of https://github.com/square/RxIdler/pull/13, which I closed due to a false alarm)