diff options
author | Live session user <qurious@gmx.com> | 2023-06-06 20:32:25 +0200 |
---|---|---|
committer | Live session user <qurious@gmx.com> | 2023-06-06 20:32:25 +0200 |
commit | 9611a9e220c4d97f9dbbbe5ddd2e9da201e36c4e (patch) | |
tree | a12267210b7b54ab29bfeaffa341060b0cbff4cc /src/android | |
parent | Merge pull request #10643 from 8bitDream/gradle-config (diff) | |
download | yuzu-9611a9e220c4d97f9dbbbe5ddd2e9da201e36c4e.tar yuzu-9611a9e220c4d97f9dbbbe5ddd2e9da201e36c4e.tar.gz yuzu-9611a9e220c4d97f9dbbbe5ddd2e9da201e36c4e.tar.bz2 yuzu-9611a9e220c4d97f9dbbbe5ddd2e9da201e36c4e.tar.lz yuzu-9611a9e220c4d97f9dbbbe5ddd2e9da201e36c4e.tar.xz yuzu-9611a9e220c4d97f9dbbbe5ddd2e9da201e36c4e.tar.zst yuzu-9611a9e220c4d97f9dbbbe5ddd2e9da201e36c4e.zip |
Diffstat (limited to 'src/android')
-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 { minSdk = 30 targetSdk = 33 versionName = getGitVersion() + versionCode = 1 ndk { @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 --> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> - <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.hardware.vulkan.version" - android:version="0x401000" - android:required="true" /> + <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:name="android.hardware.vulkan.version" android:version="0x401000" android:required="true" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> @@ -31,7 +24,7 @@ SPDX-License-Identifier: GPL-3.0-or-later android:hasFragileUserData="true" android:supportsRtl="true" android:isGame="true" - android:banner="@drawable/ic_launcher" + android:banner="@drawable/tv_banner" android:extractNativeLibs="true" android:fullBackupContent="@xml/data_extraction_rules" android:dataExtractionRules="@xml/data_extraction_rules_api_31" @@ -44,9 +37,10 @@ SPDX-License-Identifier: GPL-3.0-or-later <!-- This intentfilter marks this Activity as the one that gets launched from Home screen. --> <intent-filter> - <action android:name="android.intent.action.MAIN"/> + <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.LAUNCHER"/> + <category android:name="android.intent.category.LAUNCHER" /> + <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> </intent-filter> </activity> 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 Binary files differnew file mode 100644 index 000000000..20c770591 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/tv_banner.png |