WIP: Fix TimerService crashing on Android 14 #229
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: brandon.presley/Massive#229
Loading…
Reference in New Issue
No description provided.
Delete Branch "joseph/Massive:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This should fix #228, where on android 14, when using auto timer, after recording another set the app crashes.
The android docs on the Android 14 changes to foreground services is here: https://developer.android.com/about/versions/14/changes/fgs-types-required
I have tested this on Android 14 and the timers now work.
However I am not sure if
FOREGROUND_SERVICE_SPECIAL_USE
is the correct permission for this app, or if the explanation I provided in the Manifest is adequate.I can't say whether this fixes anything or not, since I can't replicate any timer errors on my device or any emulators.
However I can say this change didn't cause any extra issues on my devices and my emulators, so I'll accept it.
Google play is making me give them a video and explain why we need these permissions so it will take a while before it's approved or rejected by the play store. I'll close these tickets for now and if we get rejected then it's tough luck.
Pull request closed