From 7620e645161c268d4d6eae4cea631b22cd6aa0a1 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 12 Nov 2022 13:07:55 -0800 Subject: [PATCH] switch DBG build to sdk 31 Now if I grant the permission manually in Settings the app doesn't crash trying to use Bluetooth. Can't test for or ask for it yet. --- xwords4/android/app/build.gradle | 6 +++--- xwords4/android/app/src/xw4d/AndroidManifest.xml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/xwords4/android/app/build.gradle b/xwords4/android/app/build.gradle index 18e77c97c..5e4cd8607 100644 --- a/xwords4/android/app/build.gradle +++ b/xwords4/android/app/build.gradle @@ -169,9 +169,9 @@ android { xw4d { dimension "variant" - targetSdkVersion 30 - compileSdkVersion 30 - buildConfigField "int", "FLAG_IMMUTABLE", "0" + targetSdkVersion 31 + compileSdkVersion 31 + buildConfigField "int", "FLAG_IMMUTABLE", "android.app.PendingIntent.FLAG_IMMUTABLE" buildConfigField "String", "DB_NAME", "\"xwddb\"" applicationId "org.eehouse.android.xw4dbg" resValue "string", "app_name", "CrossDbg" diff --git a/xwords4/android/app/src/xw4d/AndroidManifest.xml b/xwords4/android/app/src/xw4d/AndroidManifest.xml index 4a2f2b11f..6f70c7b51 100644 --- a/xwords4/android/app/src/xw4d/AndroidManifest.xml +++ b/xwords4/android/app/src/xw4d/AndroidManifest.xml @@ -9,6 +9,8 @@ + +