mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
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:
committed by
José Rebelo
parent
cc5078332b
commit
7a79a1d0f5
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user