summaryrefslogtreecommitdiff
path: root/android/AndroidManifest.xml
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-11-22 14:43:51 -0800
committerMichael Pavone <pavone@retrodev.com>2015-11-22 14:43:51 -0800
commit621afa83ca859c29efcf57beef5b21c918161e78 (patch)
tree9a9ad4eab3c5f61e3353fe173f6c1644abb4c287 /android/AndroidManifest.xml
parent7c5abd5e88f2556cc7709ad8b96803d5c8810327 (diff)
Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Diffstat (limited to 'android/AndroidManifest.xml')
-rw-r--r--android/AndroidManifest.xml19
1 files changed, 15 insertions, 4 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index 4453401..ac123c7 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -19,9 +19,12 @@
-->
<application android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
+ android:banner="@drawable/ic_launcher"
android:allowBackup="true"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
- android:hardwareAccelerated="true" >
+ android:hardwareAccelerated="true"
+ android:isGame="true"
+ android:debuggable="true">
<activity android:name="BlastEmActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation"
@@ -30,15 +33,23 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
+ </intent-filter>
</activity>
</application>
<!-- Android 4.1.1 -->
- <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" />
+ <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
<!-- OpenGL ES 2.0 -->
- <uses-feature android:glEsVersion="0x00020000" />
+ <uses-feature android:glEsVersion="0x00020000" />
+
+ <uses-feature android:name="android.hardware.gamepad" android:required="false" />
+ <uses-feature android:name="android.software.leanback" android:required="false" />
+ <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<!-- Allow writing to external storage -->
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</manifest>