Add wake lock and wakeup for time sync

Wake lock with around 10 second timeout is a quick and dirty solution,
however as the time sync should happen once per several days the 10
second wake time should not be an issue.
This commit is contained in:
Davis Mosenkovs
2024-02-18 19:12:30 +00:00
committed by José Rebelo
parent cc5078332b
commit 7a79a1d0f5
3 changed files with 24 additions and 4 deletions
+3
View File
@@ -35,6 +35,9 @@
<!-- Schedule exact alarms (eg. for DST changes) -->
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<!-- Take wake locks (e.g. for time sync) -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- Read loyalty cards from Catima -->
<uses-permission android:name="me.hackerchick.catima.READ_CARDS"/>
<uses-permission android:name="me.hackerchick.catima.debug.READ_CARDS"/>