Browse Source

Add bluetooth permissions by default for android exporters

tags/2021-05-28
hogliux 10 years ago
parent
commit
00aefd3ec3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Android.h

+ 4
- 0
extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Android.h View File

@@ -40,6 +40,9 @@ public:
if (getInternetNeededValue().toString().isEmpty())
getInternetNeededValue() = true;
if (getBluetoothPermissionsValue().toString().isEmpty())
getBluetoothPermissionsValue() = true;
if (getKeyStoreValue().getValue().isVoid()) getKeyStoreValue() = "${user.home}/.android/debug.keystore";
if (getKeyStorePassValue().getValue().isVoid()) getKeyStorePassValue() = "android";
if (getKeyAliasValue().getValue().isVoid()) getKeyAliasValue() = "androiddebugkey";
@@ -323,6 +326,7 @@ public:
{
s.add ("android.permission.BLUETOOTH");
s.add ("android.permission.BLUETOOTH_ADMIN");
s.add ("android.permission.ACCESS_COARSE_LOCATION");
}
return getCleanedStringArray (s);


Loading…
Cancel
Save