mirror of https://git.sr.ht/~rabbits/uxn
android: sync sdl activity with upstream
This commit is contained in:
parent
f6e48c482c
commit
b645fcb14a
|
@ -1503,6 +1503,19 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
||||||
return mLastCursorID;
|
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.
|
* This method is called by SDL using JNI.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue