From 6119f7762644ade5073e3df54add93e708864073 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 8 May 2021 16:15:04 +0200 Subject: [PATCH] Android: Increment targetSdkVersion to 30 (Android 11) This enables scoped storage for new Dolphin installs on Android 11 and up (along with a few other changes in behavior which unlike scoped storage are uncontroversial). Existing installs are unaffected. We have to do this in order to be able to release updates on Google Play from November 2021 and on. --- Source/Android/app/build.gradle | 2 +- Source/Android/app/src/main/AndroidManifest.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Android/app/build.gradle b/Source/Android/app/build.gradle index 57715c02dc..b798bc08a9 100644 --- a/Source/Android/app/build.gradle +++ b/Source/Android/app/build.gradle @@ -25,7 +25,7 @@ android { // TODO If this is ever modified, change application_id in strings.xml applicationId "org.dolphinemu.dolphinemu" minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion 30 versionCode(getBuildVersionCode()) diff --git a/Source/Android/app/src/main/AndroidManifest.xml b/Source/Android/app/src/main/AndroidManifest.xml index 9074dfb3da..3b68ccebea 100644 --- a/Source/Android/app/src/main/AndroidManifest.xml +++ b/Source/Android/app/src/main/AndroidManifest.xml @@ -35,6 +35,7 @@ android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:requestLegacyExternalStorage="true" + android:preserveLegacyExternalStorage="true" android:allowBackup="false" android:supportsRtl="true" android:isGame="true"