From 2845f173ea4697366b1a4b209f67582b76121dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 9 Oct 2021 21:23:36 +0200 Subject: [PATCH] Update target Android version from 11 to 12. (API 30 to 31). We just updated from 10 to 11 which enabled scoped storage, but now that 12 is final, we might as well target that. Some new APIs are available that might be useful, like a crash dump API and more refresh rate control. --- android/AndroidManifest.xml | 7 ++++--- android/build.gradle | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index b0c6577da2..b7e39b1cf7 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -55,8 +55,8 @@ android:name=".PpssppActivity" android:configChanges="locale|keyboard|keyboardHidden|navigation|uiMode" android:label="@string/app_name" - android:theme="@style/ppsspp_style"> - + android:theme="@style/ppsspp_style" + android:exported="true"> @@ -106,7 +106,8 @@ + android:label="@string/shortcut_name" + android:exported="true"> diff --git a/android/build.gradle b/android/build.gradle index 67bb3291c5..7703fd4076 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -44,7 +44,7 @@ android { } } } - compileSdkVersion 30 + compileSdkVersion 31 defaultConfig { applicationId 'org.ppsspp.ppsspp' if (androidGitVersion.name() != "unknown" && androidGitVersion.code() >= 14000000) { @@ -60,7 +60,7 @@ android { new File("versioncode.txt").write(androidGitVersion.code().toString()) minSdkVersion 9 - targetSdkVersion 30 + targetSdkVersion 31 if (project.hasProperty("ANDROID_VERSION_CODE") && project.hasProperty("ANDROID_VERSION_NAME")) { versionCode ANDROID_VERSION_CODE versionName ANDROID_VERSION_NAME