mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Add some required fields to the generated AndroidManifest.xml file
This commit is contained in:
parent
f899b65315
commit
8feec44431
1 changed files with 3 additions and 0 deletions
|
|
@ -1747,6 +1747,8 @@ private:
|
||||||
if (! act->hasAttribute ("android:hardwareAccelerated"))
|
if (! act->hasAttribute ("android:hardwareAccelerated"))
|
||||||
act->setAttribute ("android:hardwareAccelerated", "true"); // (using the 2D acceleration slows down openGL)
|
act->setAttribute ("android:hardwareAccelerated", "true"); // (using the 2D acceleration slows down openGL)
|
||||||
|
|
||||||
|
act->setAttribute ("android:exported", "true");
|
||||||
|
|
||||||
return act;
|
return act;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1831,6 +1833,7 @@ private:
|
||||||
s.add ("android.permission.BLUETOOTH");
|
s.add ("android.permission.BLUETOOTH");
|
||||||
s.add ("android.permission.BLUETOOTH_ADMIN");
|
s.add ("android.permission.BLUETOOTH_ADMIN");
|
||||||
s.add ("android.permission.ACCESS_FINE_LOCATION");
|
s.add ("android.permission.ACCESS_FINE_LOCATION");
|
||||||
|
s.add ("android.permission.ACCESS_COARSE_LOCATION");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (androidExternalReadPermission.get())
|
if (androidExternalReadPermission.get())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue