tagtime / TagTime

Stochastic Time Tracking for Space Cadets
http://tagti.me
Other
365 stars 51 forks source link

Android tagtime doesn't update interval length until the service is restarted #61

Open DRMacIver opened 8 years ago

DRMacIver commented 8 years ago

In PingService, mGap is calculated from mPrefs during onCreate. It is never recalculated until the next time the service is created after it's been shut down, and changing the preference doesn't shut this down.

This backs up my experience of using the app: I tried changing the interval down to 1 minute and it did not start to ping noticeably more frequently.

geekarist commented 6 years ago

I'm experiencing this right now. It seems that when a ping finally comes (with the old interval) then the new interval is applied for following pings.