From f5252530d28a7013789b591344f057eeef8e99d5 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 23 Apr 2019 14:08:14 -0700 Subject: [PATCH] Change my previous fix based on feedback from dev @saml --- .../app/src/main/java/org/libsdl/app/SDLActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java index abf45a5ce..891721295 100644 --- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java +++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java @@ -651,7 +651,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh } case COMMAND_CHANGE_SURFACEVIEW_FORMAT: { - int format = ((Integer) msg.obj).intValue(); + int format = (Integer) msg.obj; int pf; if (SDLActivity.mSurface == null) {