Commit Graph

55 Commits

Author SHA1 Message Date
Ensar Sarajčić 8e713bb68c Migrate to viewbinding and kotlin gradle scripts
- Updated to viewbinding and kotlin gradle scripts
- Updated kotlin to 1.9.0
- Updated Android Gradle Plugin to 8.1.0
- Updated `androidx.lifecycle` to 2.6.1
- Updated `room` to 2.6.0-alpha02
- Updated `androidx.work` to 2.8.1
- Updated `kotlinx.coroutines` to 1.7.3
- Updated `stetho` to 1.6.0
2023-08-04 16:19:11 +02:00
tibbi 94138ec003 removing keyguard dismissing at alarms, seems to actually cause issues 2023-07-05 16:38:05 +02:00
Rawlin C 028e9e7a80 Added post delay for vibration & deleting notification channels after their dismissal 2023-07-01 15:32:08 +05:30
Rawlin C 9a23aa8e57 Vibration fixes 2023-06-29 23:28:46 +05:30
Rawlin C f8b3119159 Alarm volume refactoring 2023-06-28 00:11:02 +05:30
Rawlin C dc4c6358da Setting max alarm volume to max volume of STREAM_ALARM instead of 1f 2023-06-24 18:31:43 +05:30
tibbi 2542d6fa59 flattening the reminder activity 2022-12-25 22:26:20 +01:00
tibbi 008a3580f7 adding some crashfixes 2022-09-02 15:47:34 +02:00
tibbi 84cb86c138 adding an OS version check at the reminder activity 2022-09-01 11:48:48 +02:00
tibbi 2f4a4f3b74 adding menu at ReminderActivity too 2022-08-31 19:46:36 +02:00
tibbi e204ff15bc lowering the required OS version back to Android 6 2022-08-31 18:55:54 +02:00
tibbi 89b543f710 fix alarm snoozing 2022-07-31 21:27:26 +02:00
tibbi c10452a904 try harder at waking up the device on alarm trigger 2022-07-03 16:52:17 +02:00
tibbi cbda18faac do not show exceptions thrown at reminder screen 2022-04-22 14:33:26 +02:00
tibbi 15c0a30ff3 removing the stopwatch vibrating related setting 2022-04-21 15:01:11 +02:00
tibbi 77556c2481 lets set the minimal required OS version to Android 10 2022-04-20 20:15:22 +02:00
tibbi 6daddd310a updating commons and some libraries 2022-04-20 20:05:21 +02:00
Ebrahim Byagowi 26294b1d54 Update Simple-Commons and remove useless annotations
The reason they were needed was the linter couldn't understand
their usage when they aren't in the same project but with the
updated Simple-Commons it now can.
2021-12-06 00:43:14 +03:30
tibbi 5ac5bf8a0c adding more dayless alarm improvements 2020-11-05 11:05:21 +01:00
tibbi 9bba1b74ec removing some colons 2020-08-19 23:48:45 +02:00
Rien Maertens f7cc9568dd
Fix ReminderActivity: vibration and audio error
- There was no code to vibrate the device, this was added
- If 'no sound' was selected as the alarm audio source, it would show an
  error toast saying "setDataSource failed" because the URL was "silent"

Fixes #139, #189
2020-07-05 12:39:47 +02:00
tibbi afc1f7823e properly schedule the next alarm at cancelling one 2020-05-28 19:26:26 +02:00
tibbi b85333c984 fix #160, alarm on Android 10. Originally by coxtor 2020-02-14 19:00:04 +01:00
tibbi 6309c9e324 lets replace an icon with a vector drawable for testing 2019-08-07 21:03:52 +02:00
tibbi 921873f9a6 updating Commons + many other things 2019-01-24 21:47:36 +01:00
tibbi 2dba635e2f catch exceptions thrown at setting up mediaplayer 2018-09-14 14:02:26 +02:00
tibbi bac8b805aa call finishActivity instead of finish at pressing reminder Stop 2018-07-08 22:48:33 +02:00
tibbi 4010ce3317 revert to the old UI if a Timer invokes the reminder activity 2018-07-08 22:48:03 +02:00
tibbi 037ff0c55f show a swipe guide if the user doesnt finish swiping in any side 2018-07-08 22:21:54 +02:00
tibbi 104a832354 adding a dot after the swipe dismiss message, as it will not be a toast 2018-07-08 22:15:55 +02:00
tibbi 75510eb7c5 show a toast if the user doesnt finish swiping at the reminder screen 2018-07-08 21:53:49 +02:00
tibbi e1076b8826 make sure we trigger reminder actions max once 2018-07-08 15:50:12 +02:00
tibbi cde58b8c8c allow snoozing or dismissing alarm by dragging the middle element 2018-07-08 15:40:15 +02:00
tibbi 9352fa0221 allow dragging the center item at the ReminderActivity 2018-07-08 15:03:20 +02:00
tibbi 72b31819d8 split ReminderActivty setup into some smaller functions 2018-07-08 14:26:05 +02:00
tibbi c5f9dd2906 do not finish the ReminderActivity if Snooze dialog is cancelled 2018-07-08 14:23:00 +02:00
tibbi d7c2323489 add a pulsing background to the reminder activity draggable element 2018-07-08 14:17:25 +02:00
tibbi 5552ac2c65 reworking the Reminder activity screen a bit 2018-07-08 12:50:56 +02:00
tibbi cf05ba6565 destroy mediaplayer at ReminderActivity at onDestroy, not onStop 2018-07-07 23:54:05 +02:00
tibbi d69ed5543c add gradual volume increasing at the ReminderActivity as appropriate 2018-07-07 23:46:00 +02:00
tibbi b4e4cc5cfc use mediaplayer at the ReminderActivity instead of a notification 2018-07-07 23:29:38 +02:00
tibbi d771ec5e75 removing some functionality related to hiding reminder activity 2018-07-07 23:21:13 +02:00
tibbi 32c41e9261 show the alarm label at notification and reminder screen, if set 2018-03-28 17:23:13 +02:00
tibbi 732fc3c668 show the current time at alarm notifications to avoid confusion at snooze 2018-03-14 20:19:50 +01:00
tibbi f827645522 handle Snooze at Reminder activity 2018-03-14 20:15:01 +01:00
tibbi 3c5fe3b935 add a Snooze button to Reminder activity 2018-03-14 19:21:03 +01:00
tibbi 49edf70f61 hide reminder activity at Alarms too when appropriate 2018-03-14 18:36:50 +01:00
tibbi ee5e15c384 remove Reminder activity on notification swipe 2018-03-14 18:21:34 +01:00
tibbi 516341bf1b use the Reminder activity for alarms too 2018-03-14 17:57:13 +01:00
tibbi 4fa13283c8 move the Alarm notification handling in context extension 2018-03-14 17:27:44 +01:00