mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 10:27:40 +00:00
Fixed bug 5278 - export SDL_AndroidRequestPermission() (Thanks Huki!)
This commit is contained in:
parent
f4e02a5c1b
commit
97fad04551
2 changed files with 13 additions and 0 deletions
|
@ -2461,6 +2461,11 @@ const char * SDL_AndroidGetExternalStoragePath(void)
|
|||
return s_AndroidExternalFilesPath;
|
||||
}
|
||||
|
||||
SDL_bool SDL_AndroidRequestPermission(const char *permission)
|
||||
{
|
||||
return Android_JNI_RequestPermission(permission);
|
||||
}
|
||||
|
||||
void Android_JNI_GetManifestEnvironmentVariables(void)
|
||||
{
|
||||
if (!mActivityClass || !midGetManifestEnvironmentVariables) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue