Skip to content

Commit

Permalink
Add initial support for android TV
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrupczak3 committed May 8, 2019
1 parent 466785c commit 26e5ffe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doom/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />

<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.software.leanback"
android:required="false" />



<application
android:label="@string/app_name"
android:icon="@drawable/launch"
android:largeHeap="true" >
android:largeHeap="true"
android:banner="@drawable/banner">
<activity
android:name="net.nullsum.freedoom.EntryActivity"
android:configChanges="orientation|keyboardHidden"
Expand All @@ -23,7 +27,7 @@
android:windowSoftInputMode="stateHidden" >
<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>
Expand Down
Binary file added doom/src/main/res/drawable-mdpi/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 26e5ffe

Please sign in to comment.