Fixed opening audio on Android from the Steam Link shell activity

This commit is contained in:
Sam Lantinga
2020-02-13 16:10:52 -08:00
parent b431286471
commit 14bf532df3
2 changed files with 4 additions and 13 deletions

View File

@@ -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");
}