diff options
| -rw-r--r-- | src/android/app/build.gradle.kts | 1 | ||||
| -rw-r--r-- | src/android/app/src/main/AndroidManifest.xml | 22 | ||||
| -rw-r--r-- | src/android/app/src/main/res/drawable-xhdpi/tv_banner.png | bin | 0 -> 7764 bytes |
3 files changed, 9 insertions, 14 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index 06f22fabe..97884a47c 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts | |||
| @@ -58,6 +58,7 @@ android { | |||
| 58 | minSdk = 30 | 58 | minSdk = 30 |
| 59 | targetSdk = 33 | 59 | targetSdk = 33 |
| 60 | versionName = getGitVersion() | 60 | versionName = getGitVersion() |
| 61 | versionCode = 1 | ||
| 61 | 62 | ||
| 62 | ndk { | 63 | ndk { |
| 63 | @SuppressLint("ChromeOsAbiSupport") | 64 | @SuppressLint("ChromeOsAbiSupport") |
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml index 43087f2c0..eef566042 100644 --- a/src/android/app/src/main/AndroidManifest.xml +++ b/src/android/app/src/main/AndroidManifest.xml | |||
| @@ -6,17 +6,10 @@ SPDX-License-Identifier: GPL-3.0-or-later | |||
| 6 | --> | 6 | --> |
| 7 | 7 | ||
| 8 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> | 8 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 9 | <uses-feature | 9 | <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> |
| 10 | android:name="android.hardware.touchscreen" | 10 | <uses-feature android:name="android.hardware.gamepad" android:required="false" /> |
| 11 | android:required="false"/> | 11 | <uses-feature android:name="android.software.leanback" android:required="false" /> |
| 12 | <uses-feature | 12 | <uses-feature android:name="android.hardware.vulkan.version" android:version="0x401000" android:required="true" /> |
| 13 | android:name="android.hardware.gamepad" | ||
| 14 | android:required="false"/> | ||
| 15 | |||
| 16 | <uses-feature | ||
| 17 | android:name="android.hardware.vulkan.version" | ||
| 18 | android:version="0x401000" | ||
| 19 | android:required="true" /> | ||
| 20 | 13 | ||
| 21 | <uses-permission android:name="android.permission.INTERNET" /> | 14 | <uses-permission android:name="android.permission.INTERNET" /> |
| 22 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> | 15 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| @@ -31,7 +24,7 @@ SPDX-License-Identifier: GPL-3.0-or-later | |||
| 31 | android:hasFragileUserData="true" | 24 | android:hasFragileUserData="true" |
| 32 | android:supportsRtl="true" | 25 | android:supportsRtl="true" |
| 33 | android:isGame="true" | 26 | android:isGame="true" |
| 34 | android:banner="@drawable/ic_launcher" | 27 | android:banner="@drawable/tv_banner" |
| 35 | android:extractNativeLibs="true" | 28 | android:extractNativeLibs="true" |
| 36 | android:fullBackupContent="@xml/data_extraction_rules" | 29 | android:fullBackupContent="@xml/data_extraction_rules" |
| 37 | android:dataExtractionRules="@xml/data_extraction_rules_api_31" | 30 | android:dataExtractionRules="@xml/data_extraction_rules_api_31" |
| @@ -44,9 +37,10 @@ SPDX-License-Identifier: GPL-3.0-or-later | |||
| 44 | 37 | ||
| 45 | <!-- This intentfilter marks this Activity as the one that gets launched from Home screen. --> | 38 | <!-- This intentfilter marks this Activity as the one that gets launched from Home screen. --> |
| 46 | <intent-filter> | 39 | <intent-filter> |
| 47 | <action android:name="android.intent.action.MAIN"/> | 40 | <action android:name="android.intent.action.MAIN" /> |
| 48 | 41 | ||
| 49 | <category android:name="android.intent.category.LAUNCHER"/> | 42 | <category android:name="android.intent.category.LAUNCHER" /> |
| 43 | <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> | ||
| 50 | </intent-filter> | 44 | </intent-filter> |
| 51 | </activity> | 45 | </activity> |
| 52 | 46 | ||
diff --git a/src/android/app/src/main/res/drawable-xhdpi/tv_banner.png b/src/android/app/src/main/res/drawable-xhdpi/tv_banner.png new file mode 100644 index 000000000..20c770591 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/tv_banner.png | |||
| Binary files differ | |||