diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-04-08 04:21:53 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 04:21:53 +0530 |
commit | 023f03a227492c6518e15ffb0b3ea289565809e2 (patch) | |
tree | bf3df9a04828905f5b07b40ad9c6fa921d5611ce /app/src/main/AndroidManifest.xml | |
parent | e13a54f212f7fc628eb48561f1b225e28468c6e7 (diff) |
Declare and check for camera features (#1375)
* app: set feature requirements
* Don't offer QR import option if no camera is present
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 11814b5f..a2c6003c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -14,6 +14,13 @@ <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> + <uses-feature + android:name="android.hardware.touchscreen" + android:required="false" /> + <uses-feature + android:name="android.hardware.camera.any" + android:required="false" /> + <application android:name=".Application" android:allowBackup="false" |