summaryrefslogtreecommitdiffhomepage
path: root/app/src/main
diff options
context:
space:
mode:
authorRevath S Kumar <rsk@revathskumar.com>2020-01-23 01:11:56 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2020-01-22 20:56:49 +0100
commit687bf8b20832b2a90d3dc73c967bb1838a150d39 (patch)
tree7ac48bbb02a96e10ecb408c8168822d50683d68d /app/src/main
parent10d0807395a6bf63589ff11e65fe3e5da631976a (diff)
Manifest: make wireguard compatible with android TV
As of now wireguard is not listed in Android TV play store due to the lack of CATEGORY_LEANBACK_LAUNCHER [1]. Even the app is not listed when we sideload into TV device[2]. [1]: https://developer.android.com/reference/android/content/Intent.html#CATEGORY_LEANBACK_LAUNCHER [2]: https://developer.android.com/training/tv/start/start.html#tv-activity Signed-off-by: Revath S Kumar <rsk@revathskumar.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 21fc6eb3..9bd29405 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -16,6 +16,8 @@
android:label="@string/permission_label"
android:protectionLevel="dangerous" />
+ <uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
+
<application
android:name=".Application"
android:allowBackup="false"
@@ -31,6 +33,7 @@
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
<intent-filter>