Browse Source

Projucer: Add some required fields to the generated AndroidManifest.xml file

v6.1.6
ed 4 years ago
parent
commit
8feec44431
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Android.h

+ 3
- 0
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Android.h View File

@@ -1747,6 +1747,8 @@ private:
if (! act->hasAttribute ("android:hardwareAccelerated"))
act->setAttribute ("android:hardwareAccelerated", "true"); // (using the 2D acceleration slows down openGL)
act->setAttribute ("android:exported", "true");
return act;
}
@@ -1831,6 +1833,7 @@ private:
s.add ("android.permission.BLUETOOTH");
s.add ("android.permission.BLUETOOTH_ADMIN");
s.add ("android.permission.ACCESS_FINE_LOCATION");
s.add ("android.permission.ACCESS_COARSE_LOCATION");
}
if (androidExternalReadPermission.get())


Loading…
Cancel
Save