diff --git a/xwords4/android/app/build.gradle b/xwords4/android/app/build.gradle index 93215b070..01b362a1a 100644 --- a/xwords4/android/app/build.gradle +++ b/xwords4/android/app/build.gradle @@ -140,7 +140,7 @@ android { xw4GPlay { dimension "variant" - applicationId "org.eehouse.android.xw4" + applicationId "org.eehouse.android.xw4GPTest" manifestPlaceholders = [ APP_ID: applicationId ] resValue "string", "app_name", "DoNotRelease" buildConfigField "boolean", "WIDIR_ENABLED", "false" diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTUtils.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTUtils.java index ad9c89393..c5144ad1b 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTUtils.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTUtils.java @@ -150,7 +150,7 @@ public class BTUtils { public static void enable( Context context ) { BluetoothAdapter adapter = getAdapterIf(); - if ( null != adapter ) { + if ( null != adapter && havePermissions( context ) ) { // Only do this after explicit action from user -- Android guidelines adapter.enable(); }