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.
This commit is contained in:
Eric House 2022-11-12 13:07:55 -08:00
parent 92b02fccb7
commit 7620e64516
2 changed files with 5 additions and 3 deletions

View file

@ -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"

View file

@ -9,6 +9,8 @@
<!-- GooglePlay version no longer allowed to have these (after 9 March 2019) -->
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<!-- for crittercism -->
<uses-permission android:name="android.permission.GET_TASKS"/>