mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 21:47:44 +00:00
Fixed opening audio on Android from the Steam Link shell activity
This commit is contained in:
@@ -234,6 +234,7 @@ openslES_CreatePCMRecorder(_THIS)
|
||||
int i;
|
||||
|
||||
if (!Android_JNI_RequestPermission("android.permission.RECORD_AUDIO")) {
|
||||
LOGE("This app doesn't have RECORD_AUDIO permission");
|
||||
return SDL_SetError("This app doesn't have RECORD_AUDIO permission");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user