mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 03:59:59 +00:00
Android TV banner
This commit is contained in:
parent
d967ab8e79
commit
9611a9e220
3 changed files with 9 additions and 14 deletions
|
@ -58,6 +58,7 @@ android {
|
||||||
minSdk = 30
|
minSdk = 30
|
||||||
targetSdk = 33
|
targetSdk = 33
|
||||||
versionName = getGitVersion()
|
versionName = getGitVersion()
|
||||||
|
versionCode = 1
|
||||||
|
|
||||||
ndk {
|
ndk {
|
||||||
@SuppressLint("ChromeOsAbiSupport")
|
@SuppressLint("ChromeOsAbiSupport")
|
||||||
|
|
|
@ -6,17 +6,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<uses-feature
|
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
|
||||||
android:name="android.hardware.touchscreen"
|
<uses-feature android:name="android.hardware.gamepad" android:required="false" />
|
||||||
android:required="false"/>
|
<uses-feature android:name="android.software.leanback" android:required="false" />
|
||||||
<uses-feature
|
<uses-feature android:name="android.hardware.vulkan.version" android:version="0x401000" android:required="true" />
|
||||||
android:name="android.hardware.gamepad"
|
|
||||||
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.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
|
@ -31,7 +24,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
android:hasFragileUserData="true"
|
android:hasFragileUserData="true"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:isGame="true"
|
android:isGame="true"
|
||||||
android:banner="@drawable/ic_launcher"
|
android:banner="@drawable/tv_banner"
|
||||||
android:extractNativeLibs="true"
|
android:extractNativeLibs="true"
|
||||||
android:fullBackupContent="@xml/data_extraction_rules"
|
android:fullBackupContent="@xml/data_extraction_rules"
|
||||||
android:dataExtractionRules="@xml/data_extraction_rules_api_31"
|
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. -->
|
<!-- This intentfilter marks this Activity as the one that gets launched from Home screen. -->
|
||||||
<intent-filter>
|
<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>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
|
|
BIN
src/android/app/src/main/res/drawable-xhdpi/tv_banner.png
Normal file
BIN
src/android/app/src/main/res/drawable-xhdpi/tv_banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
Loading…
Reference in a new issue