start a new foreground service when the stopwatch is active and the app is moved to the background

This commit is contained in:
Mysochenko Yuriy
2022-05-02 08:58:27 +03:00
parent 20a59bfd1e
commit d26372296d
37 changed files with 175 additions and 7 deletions

View File

@ -34,10 +34,12 @@ const val DEFAULT_MAX_TIMER_REMINDER_SECS = 60
const val PICK_AUDIO_FILE_INTENT_ID = 9994
const val REMINDER_ACTIVITY_INTENT_ID = 9995
const val OPEN_ALARMS_TAB_INTENT_ID = 9996
const val OPEN_STOPWATCH_TAB_INTENT_ID = 9993
const val UPDATE_WIDGET_INTENT_ID = 9997
const val OPEN_APP_INTENT_ID = 9998
const val ALARM_NOTIF_ID = 9998
const val TIMER_RUNNING_NOTIF_ID = 10000
const val STOPWATCH_RUNNING_NOTIF_ID = 10001
const val OPEN_TAB = "open_tab"
const val TAB_CLOCK = 0