summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorBrian Jolly <bkjolly77@gmail.com>2015-04-22 14:06:02 -0400
committerSteve Kondik <steve@cyngn.com>2015-11-07 13:58:03 -0800
commit374b3725dfc4dbe59f0fd6e734e7ebab3a3c25b9 (patch)
tree73af952bcae8a56ebe5adeb745a1897da094308e /AndroidManifest.xml
parenta5d029868c4d252585c29968f50f22f05efa495e (diff)
downloadpackages_apps_browser-374b3725dfc4dbe59f0fd6e734e7ebab3a3c25b9.zip
packages_apps_browser-374b3725dfc4dbe59f0fd6e734e7ebab3a3c25b9.tar.gz
packages_apps_browser-374b3725dfc4dbe59f0fd6e734e7ebab3a3c25b9.tar.bz2
Make Browser useable in Leanback Launcher
Change-Id: I0838b89f5186b125ded732520c853f75d85e182c
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index dde71f7..0ffdec4 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -22,6 +22,15 @@
<uses-sdk android:minSdkVersion="21"/>
+ <uses-feature android:name="android.software.leanback"
+ android:required="false" />
+
+ <uses-feature android:name="android.hardware.touchscreen"
+ android:required="false" />
+
+ <uses-feature android:name="android.hardware.screen.portrait"
+ android:required="false" />
+
<permission android:name="com.android.browser.permission.PRELOAD"
android:label="@string/permission_preload_label"
android:protectionLevel="signatureOrSystem" />
@@ -55,6 +64,7 @@
<application android:name="Browser"
android:label="@string/application_name"
android:icon="@mipmap/ic_launcher_browser"
+ android:banner="@drawable/banner"
android:backupAgent=".BrowserBackupAgent"
android:hardwareAccelerated="true"
android:taskAffinity="android.task.browser"
@@ -117,6 +127,7 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.APP_BROWSER" />
</intent-filter>