mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-16 03:05:06 +00:00
android: sync sdl activity with upstream
This commit is contained in:
parent
f6e48c482c
commit
b645fcb14a
1 changed files with 13 additions and 0 deletions
|
@ -1503,6 +1503,19 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||
return mLastCursorID;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called by SDL using JNI.
|
||||
*/
|
||||
public static void destroyCustomCursor(int cursorID) {
|
||||
if (Build.VERSION.SDK_INT >= 24) {
|
||||
try {
|
||||
mCursors.remove(cursorID);
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called by SDL using JNI.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue