forked from geode-sdk/android-launcher
run base oncreate as soon as possible
This commit is contained in:
1 parent
bada0e40fe
commit
650c31a465
1 file changed
+3
-3
@@ -46,6 +46,8 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
||||
private var mReceiver: BroadcastReceiver? = null
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
setupUIState()
|
||||
|
||||
// return back to main if Geometry Dash isn't found
|
||||
@@ -94,8 +96,6 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
||||
|
||||
FMOD.init(this)
|
||||
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
setContentView(createView())
|
||||
|
||||
// call native functions after native libraries init
|
||||
@@ -421,4 +421,4 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user