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>
This commit is contained in:
Revath S Kumar 2020-01-23 01:11:56 +05:30 committed by Jason A. Donenfeld
parent 10d0807395
commit 687bf8b208

View File

@ -16,6 +16,8 @@
android:label="@string/permission_label" android:label="@string/permission_label"
android:protectionLevel="dangerous" /> android:protectionLevel="dangerous" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<application <application
android:name=".Application" android:name=".Application"
android:allowBackup="false" android:allowBackup="false"
@ -31,6 +33,7 @@
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>