From b913528d11ae0c1b843236afb31fd4170c8e1bbf Mon Sep 17 00:00:00 2001 From: attila Date: Mon, 19 Dec 2022 16:38:37 +0100 Subject: [PATCH] Projucer: Request Bluetooth permission on Android for PIP projects Prior to 26a23dfc the Android project exporter requested the Bluetooth permission by default, and some PIPs depended on this behaviour. --- extras/Projucer/Source/Utility/PIPs/jucer_PIPGenerator.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/Projucer/Source/Utility/PIPs/jucer_PIPGenerator.cpp b/extras/Projucer/Source/Utility/PIPs/jucer_PIPGenerator.cpp index 88aa018f7f..ea203361c5 100644 --- a/extras/Projucer/Source/Utility/PIPs/jucer_PIPGenerator.cpp +++ b/extras/Projucer/Source/Utility/PIPs/jucer_PIPGenerator.cpp @@ -265,6 +265,9 @@ ValueTree PIPGenerator::createExporterChild (const Identifier& exporterIdentifie } } + if (exporterIdentifier.toString() == AndroidProjectExporter::getValueTreeTypeName()) + exporter.setProperty (Ids::androidBluetoothNeeded, true, nullptr); + { ValueTree configs (Ids::CONFIGURATIONS);