Commit Graph

22 Commits

Author SHA1 Message Date
e6228b3990 Remove non null assertions in TimerService
This might help fix the error we were seeing on the
play store.
2022-10-13 16:12:49 +13:00
9dd929b177 Handle missing intent extras in TimerService
This might fix an error I was seeing on production in the Play store.
2022-10-13 13:33:01 +13:00
e0b84af9e7 Move sessions page functionality onto Plan page
The sessions page mostly copied the exact same features as Plans,
which would confuse the user.
2022-10-12 14:07:48 +13:00
e501276463 Keep alarm notification on screen
If the user picks up their phone late while the alarm
is going, they might not realise the controls are in
the notification not the app.

Closes #75
2022-10-05 21:11:44 +13:00
facceae2a8 Disable sound on complete notification for timers
Closes #55
2022-09-25 23:53:15 +13:00
118b87bef1 Always cancel old timer when new one starts
Previously we didn't cancel the alarm or notification.
Closes #45
2022-09-24 16:55:55 +12:00
0f571ac3ea Rename notification channels
Closes #44
2022-09-24 15:40:37 +12:00
3abc4da861 Make countdownTimer nullable in TimerService 2022-09-08 22:32:48 +12:00
c44c57e1c4 Fix settings for timer after adding one minute
Both vibration and sound settings weren't applying
after adding one minute to the timer. It would instead
play the default alarm and always vibrate.
2022-09-08 22:11:48 +12:00
81fd21be48 Stop alarm when notification is dismissed 2022-08-30 21:42:38 +12:00
48d4d59ac8 Add ability to choose alarm sound
Closes #5
2022-08-25 20:41:15 +12:00
44a94d029a Show notification on screen when timer is complete 2022-08-22 18:31:47 +12:00
396970a50b Remove pointless API checking after we already required M+ 2022-08-22 15:51:03 +12:00
773de4d966 Fix adding 1 minute after timer has ended 2022-08-22 15:48:53 +12:00
4c185f0346 Add vibration setting for timers 2022-08-20 16:37:59 +12:00
ba496e8c2d Fix adding 1 minute to timer 2022-07-26 11:37:57 +12:00
d513b147bc Add ability to add 1 minute to timer 2022-07-19 17:03:43 +12:00
65f6eaff57 Remove TimerBroadcast
This was added briefly because the timer was
pausing when the app was in the background (sometimes).
I read somewhere using a BroadcastReceiver prevents the timer
from being slept by Android, which turned out to be false (on a Pixel
    4).
The actual solution was disabling battery optimizations, so this
broadcast receiver is now redundant.
2022-07-19 16:34:49 +12:00
c387ee7e61 Run timer in TimerService instead of Broadcast 2022-07-16 16:12:28 +12:00
e4ed53c358 Move logic of TimerService into TimerBroadcast
This was supposed to solve the timer stopping sometimes
when the application was in the background.
It was actually stopping because of battery optimizations.
2022-07-06 16:27:36 +12:00
76e6ffbc25 Add ExportModule
It is writing the exported sets.csv correctly,
however afterwards the device has no access to
any files on it's system anymore.
2022-07-05 17:42:48 +12:00
6581b32afe Move timer into notifications bar 2022-07-05 15:33:42 +12:00