Skip to content

Commit b307317

Browse files
committed
Update app alias for Android TV
1 parent 77ea654 commit b307317

4 files changed

Lines changed: 12 additions & 1 deletion

File tree

app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,16 @@
6969

7070
<activity
7171
android:name="org.draken.usagi.main.ui.MainActivity"
72-
android:exported="true">
72+
android:exported="true"
73+
android:banner="@mipmap/tv_banner">
7374
<intent-filter>
7475
<action android:name="android.intent.action.MAIN" />
7576
<category android:name="android.intent.category.LAUNCHER" />
7677
</intent-filter>
78+
<intent-filter>
79+
<action android:name="android.intent.action.MAIN" />
80+
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
81+
</intent-filter>
7782
<meta-data
7883
android:name="android.app.default_searchable"
7984
android:value="org.draken.usagi.search.ui.multi.MultiSearchActivity" />
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/launcher_background"/>
4+
<foreground android:drawable="@mipmap/tv_banner_foreground"/>
5+
<monochrome android:drawable="@mipmap/tv_banner_foreground"/>
6+
</adaptive-icon>
6.78 KB
Loading
7.2 KB
Loading

0 commit comments

Comments
 (0)