square / RxIdler

An IdlingResource for Espresso which wraps an RxJava Scheduler.
Apache License 2.0
512 stars 43 forks source link

Fix IllegalStateException when scheduling periodic work #14

Closed larryng closed 5 years ago

larryng commented 5 years ago

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)

JakeWharton commented 5 years ago

Merged. Thanks!

JakeWharton commented 5 years ago

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

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 .