From 00aefd3ec3fa149a71c473376e91e16f2763b739 Mon Sep 17 00:00:00 2001 From: hogliux Date: Tue, 17 Nov 2015 09:58:29 +0000 Subject: [PATCH] Add bluetooth permissions by default for android exporters --- .../Source/Project Saving/jucer_ProjectExport_Android.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Android.h b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Android.h index bcad89d10f..9c70dcea65 100644 --- a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Android.h +++ b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_Android.h @@ -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);