From 4a5e4ce85c34b0e9a2c5771fcc8d1fe8a4f602fb Mon Sep 17 00:00:00 2001 From: Chloe <25387744+qimiko@users.noreply.github.com> Date: Mon, 11 Nov 2024 05:49:31 -0700 Subject: [PATCH] my prediction was wrong --- app/src/main/java/com/geode/launcher/utils/Constants.kt | 2 +- app/src/main/java/org/cocos2dx/lib/Cocos2dxGLSurfaceView.kt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/geode/launcher/utils/Constants.kt b/app/src/main/java/com/geode/launcher/utils/Constants.kt index 9767ca5..05f7cd2 100644 --- a/app/src/main/java/com/geode/launcher/utils/Constants.kt +++ b/app/src/main/java/com/geode/launcher/utils/Constants.kt @@ -16,5 +16,5 @@ object Constants { const val SUPPORTED_VERSION_CODE_MIN = 37L const val SUPPORTED_VERSION_CODE = 40L - const val SUPPORTED_VERSION_STRING = "2.2.142" + const val SUPPORTED_VERSION_STRING = "2.2.143" } diff --git a/app/src/main/java/org/cocos2dx/lib/Cocos2dxGLSurfaceView.kt b/app/src/main/java/org/cocos2dx/lib/Cocos2dxGLSurfaceView.kt index 2b401b5..d0f61b6 100644 --- a/app/src/main/java/org/cocos2dx/lib/Cocos2dxGLSurfaceView.kt +++ b/app/src/main/java/org/cocos2dx/lib/Cocos2dxGLSurfaceView.kt @@ -62,9 +62,7 @@ class Cocos2dxGLSurfaceView(context: Context) : GLSurfaceView(context) { fun initView() { setEGLContextClientVersion(2) isFocusableInTouchMode = true -// if (Build.VERSION.SDK_INT >= 11) { preserveEGLContextOnPause = true -// } cocos2dxGLSurfaceView = this cocos2dxTextInputWrapper = Cocos2dxTextInputWrapper(this) Cocos2dxGLSurfaceView.handler = object : Handler(Looper.getMainLooper()) {