diff options
author | Christof Arnosti <charno@charno.ch> | 2020-03-14 17:31:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-16 07:58:20 -0700 |
commit | 779b84bfa02b3e11f295263971a693bef19c3f9e (patch) | |
tree | 0f03428bbaa800fbd345a163ef4ae1c92c16fff6 /android-mobile/AndroidManifest.xml | |
parent | a34a81d120fa2c66522bfcd450003e58dae62d3b (diff) | |
download | subsurface-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.xml | 1 |
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. |