mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-09 04:30:09 +00:00
Android: Fixed a compiler error when compiling for Android SDKs < 16 (and re-saved all projects)
This commit is contained in:
parent
bebe32357f
commit
f1dc2a71f3
8 changed files with 1017 additions and 155 deletions
|
|
@ -116,7 +116,8 @@ public class JuceAppActivity extends Activity
|
|||
{
|
||||
case JUCE_PERMISSIONS_RECORD_AUDIO: return Manifest.permission.RECORD_AUDIO;
|
||||
case JUCE_PERMISSIONS_BLUETOOTH_MIDI: return Manifest.permission.ACCESS_COARSE_LOCATION;
|
||||
case JUCE_PERMISSIONS_READ_EXTERNAL_STORAGE: return Manifest.permission.READ_EXTERNAL_STORAGE;
|
||||
// use string value as this is not defined in SDKs < 16
|
||||
case JUCE_PERMISSIONS_READ_EXTERNAL_STORAGE: return "android.permission.READ_EXTERNAL_STORAGE";
|
||||
case JUCE_PERMISSIONS_WRITE_EXTERNAL_STORAGE: return Manifest.permission.WRITE_EXTERNAL_STORAGE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue