forked from geode-sdk/android-launcher
my prediction was wrong
This commit is contained in:
2 files changed
+1
-3
No files matched your search
@@ -16,5 +16,5 @@ object Constants {
|
|||||||
const val SUPPORTED_VERSION_CODE_MIN = 37L
|
const val SUPPORTED_VERSION_CODE_MIN = 37L
|
||||||
const val SUPPORTED_VERSION_CODE = 40L
|
const val SUPPORTED_VERSION_CODE = 40L
|
||||||
|
|
||||||
const val SUPPORTED_VERSION_STRING = "2.2.142"
|
const val SUPPORTED_VERSION_STRING = "2.2.143"
|
||||||
}
|
}
|
||||||
@@ -62,9 +62,7 @@ class Cocos2dxGLSurfaceView(context: Context) : GLSurfaceView(context) {
|
|||||||
fun initView() {
|
fun initView() {
|
||||||
setEGLContextClientVersion(2)
|
setEGLContextClientVersion(2)
|
||||||
isFocusableInTouchMode = true
|
isFocusableInTouchMode = true
|
||||||
// if (Build.VERSION.SDK_INT >= 11) {
|
|
||||||
preserveEGLContextOnPause = true
|
preserveEGLContextOnPause = true
|
||||||
// }
|
|
||||||
cocos2dxGLSurfaceView = this
|
cocos2dxGLSurfaceView = this
|
||||||
cocos2dxTextInputWrapper = Cocos2dxTextInputWrapper(this)
|
cocos2dxTextInputWrapper = Cocos2dxTextInputWrapper(this)
|
||||||
Cocos2dxGLSurfaceView.handler = object : Handler(Looper.getMainLooper()) {
|
Cocos2dxGLSurfaceView.handler = object : Handler(Looper.getMainLooper()) {
|
||||||
|
|||||||
Reference in new issue
Block a user