summaryrefslogtreecommitdiffstats
path: root/android-mobile/AndroidManifest.xml
diff options
context:
space:
mode:
authorGravatar Christof Arnosti <charno@charno.ch>2020-03-14 17:31:51 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-16 07:58:20 -0700
commit779b84bfa02b3e11f295263971a693bef19c3f9e (patch)
tree0f03428bbaa800fbd345a163ef4ae1c92c16fff6 /android-mobile/AndroidManifest.xml
parenta34a81d120fa2c66522bfcd450003e58dae62d3b (diff)
downloadsubsurface-779b84bfa02b3e11f295263971a693bef19c3f9e.tar.gz
usb-serial-for-android: Use wakelock
Android takes some pretty hard measures to save power, including shutting down the CPU. Since this can interfer with the download from an usb serial device, we now use a wakelock to keep the CPU running during download. Signed-off-by: Christof Arnosti <charno@charno.ch> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'android-mobile/AndroidManifest.xml')
-rw-r--r--android-mobile/AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/android-mobile/AndroidManifest.xml b/android-mobile/AndroidManifest.xml
index bab23a250..578624baf 100644
--- a/android-mobile/AndroidManifest.xml
+++ b/android-mobile/AndroidManifest.xml
@@ -92,6 +92,7 @@
android:normalScreens="true"
android:smallScreens="true" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
<!--
The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Remove the comment if you do not require these default permissions.