Change my previous fix based on feedback from dev @saml
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 abf45a5..8917212 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) {