summaryrefslogtreecommitdiff
path: root/Source/Android/app/src
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-06-05 18:30:32 -0400
committerRyan Houdek <Sonicadvance1@gmail.com>2015-06-05 18:30:32 -0400
commit63f41ce54ee882eb503427fe2ca58bcf976e78f5 (patch)
treec2ea8b3a564be78378b5e0d65b9623df58254541 /Source/Android/app/src
parentb9821916dcc0368a8ad2bf2b223db1af6d334129 (diff)
parent51cad1025cf0b5006518eb1a22518d68edd65db9 (diff)
Merge pull request #2514 from sigmabeta/android-tv-support
Android TV: Allow the app to be launched from an Android TV launcher.
Diffstat (limited to 'Source/Android/app/src')
-rw-r--r--Source/Android/app/src/main/AndroidManifest.xml15
-rw-r--r--Source/Android/app/src/main/res/drawable-xhdpi/banner_tv.pngbin0 -> 7486 bytes
-rw-r--r--Source/Android/app/src/main/res/drawable-xxxhdpi/banner_tv.pngbin0 -> 16240 bytes
3 files changed, 14 insertions, 1 deletions
diff --git a/Source/Android/app/src/main/AndroidManifest.xml b/Source/Android/app/src/main/AndroidManifest.xml
index 78548b4c6c..31a673c51d 100644
--- a/Source/Android/app/src/main/AndroidManifest.xml
+++ b/Source/Android/app/src/main/AndroidManifest.xml
@@ -1,6 +1,16 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.dolphinemu.dolphinemu">
+ <uses-feature
+ android:name="android.hardware.touchscreen"
+ android:required="false"/>
+ <uses-feature
+ android:name="android.hardware.gamepad"
+ android:required="false"/>
+ <uses-feature
+ android:name="android.software.leanback"
+ android:required="false"/>
+
<uses-feature android:glEsVersion="0x00030000" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@@ -10,7 +20,9 @@
<application
android:icon="@drawable/ic_launcher"
android:allowBackup="true"
- android:supportsRtl="true">
+ android:supportsRtl="true"
+ android:isGame="true"
+ android:banner="@drawable/banner_tv">
<activity
android:name=".activities.GameGridActivity"
@@ -21,6 +33,7 @@
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/banner_tv.png b/Source/Android/app/src/main/res/drawable-xhdpi/banner_tv.png
new file mode 100644
index 0000000000..36a02cb2dc
--- /dev/null
+++ b/Source/Android/app/src/main/res/drawable-xhdpi/banner_tv.png
Binary files differ
diff --git a/Source/Android/app/src/main/res/drawable-xxxhdpi/banner_tv.png b/Source/Android/app/src/main/res/drawable-xxxhdpi/banner_tv.png
new file mode 100644
index 0000000000..5b1dcd919d
--- /dev/null
+++ b/Source/Android/app/src/main/res/drawable-xxxhdpi/banner_tv.png
Binary files differ