mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-22 16:42:38 +00:00
implement enough to launch 2.2 (#2)
* generic maintenance and allow armv8 * implement missing java functions * Update build.yml * add missing audiodevice code * split apk support * ignore (gitignore) * replace library load with native code * set supported abis again --------- Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
This commit is contained in:
1 parent
c08ae0ec13
commit
c85470013f
24 files changed
+522
-252
No files matched your search
@@ -9,6 +9,7 @@ import android.net.NetworkCapabilities
|
||||
import android.net.Uri
|
||||
import android.provider.Settings
|
||||
import android.util.Log
|
||||
import android.view.WindowManager
|
||||
import android.widget.Toast
|
||||
import com.customRobTop.JniToCpp.resumeSound
|
||||
import org.cocos2dx.lib.Cocos2dxGLSurfaceView.Companion.closeIMEKeyboard
|
||||
@@ -127,6 +128,11 @@ object BaseRobTopActivity {
|
||||
isLoaded = true
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun getDeviceRefreshRate(): Float {
|
||||
return (me.get()?.getSystemService(Context.WINDOW_SERVICE) as WindowManager).defaultDisplay.refreshRate
|
||||
}
|
||||
|
||||
// Everyplay doesn't even exist anymore lol
|
||||
@JvmStatic
|
||||
fun setupEveryplay() {}
|
||||
|
||||
Reference in new issue
Block a user