Browse Source

android: Refactor ic_launcher.xml to drawables

pull/15/merge
Charles Lombardo 3 years ago
committed by bunnei
parent
commit
74653f1e80
  1. 4
      src/android/app/src/main/AndroidManifest.xml
  2. 2
      src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/StartupHandler.kt
  3. 0
      src/android/app/src/main/res/drawable/ic_launcher.xml

4
src/android/app/src/main/AndroidManifest.xml

@ -18,11 +18,11 @@
<application
android:name="org.yuzu.yuzu_emu.YuzuApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/ic_launcher"
android:allowBackup="false"
android:supportsRtl="true"
android:isGame="true"
android:banner="@mipmap/ic_launcher"
android:banner="@drawable/ic_launcher"
android:extractNativeLibs="true"
android:fullBackupContent="@xml/data_extraction_rules"
android:dataExtractionRules="@xml/data_extraction_rules_api_31">

2
src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/StartupHandler.kt

@ -35,7 +35,7 @@ object StartupHandler {
val alert = MaterialAlertDialogBuilder(parent)
.setMessage(Html.fromHtml(parent.resources.getString(R.string.app_disclaimer)))
.setTitle(R.string.app_name)
.setIcon(R.mipmap.ic_launcher)
.setIcon(R.drawable.ic_launcher)
.setPositiveButton(android.R.string.ok, null)
.setOnDismissListener {
handleStartupPromptDismiss(parent)

0
src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml → src/android/app/src/main/res/drawable/ic_launcher.xml

Loading…
Cancel
Save