mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 15:39:10 +00:00
Fixed assertion, it's possible for the OS to grant permissions we haven't asked for.
This commit is contained in:
parent
8b5f0d07e9
commit
be786aeb9d
1 changed files with 0 additions and 1 deletions
|
@ -2658,7 +2658,6 @@ JNIEXPORT void JNICALL SDL_JAVA_INTERFACE(nativePermissionResult)(
|
|||
}
|
||||
|
||||
SDL_UnlockMutex(Android_ActivityMutex);
|
||||
SDL_assert(!"Shouldn't have hit this code"); // we had a permission response for a request we never made...?
|
||||
}
|
||||
|
||||
int SDL_AndroidRequestPermission(const char *permission, SDL_AndroidRequestPermissionCallback cb, void *userdata)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue