forked from geode-sdk/android-launcher
change package name
This commit is contained in:
9 files changed
+18
-17
No files matched your search
+2
-2
@@ -7,7 +7,7 @@ android {
|
||||
compileSdk 33
|
||||
|
||||
defaultConfig {
|
||||
applicationId "dev.xyze.geodelauncher"
|
||||
applicationId "com.geode.geodelauncher"
|
||||
minSdk 23
|
||||
targetSdk 33
|
||||
versionCode 1
|
||||
@@ -55,7 +55,7 @@ android {
|
||||
version '3.22.1'
|
||||
}
|
||||
}
|
||||
namespace 'dev.xyze.geodelauncher'
|
||||
namespace 'com.geode.geodelauncher'
|
||||
ndkVersion '25.1.8937393'
|
||||
}
|
||||
|
||||
|
||||
+5
-4
@@ -1,4 +1,4 @@
|
||||
package dev.xyze.geodelauncher
|
||||
package com.geode.geodelauncher
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.content.BroadcastReceiver
|
||||
@@ -20,8 +20,8 @@ import androidx.core.view.WindowInsetsCompat
|
||||
import androidx.core.view.WindowInsetsControllerCompat
|
||||
import com.customRobTop.BaseRobTopActivity
|
||||
import com.customRobTop.JniToCpp
|
||||
import dev.xyze.geodelauncher.utils.GJConstants
|
||||
import dev.xyze.geodelauncher.utils.LaunchUtils
|
||||
import com.geode.geodelauncher.utils.GJConstants
|
||||
import com.geode.geodelauncher.utils.LaunchUtils
|
||||
import org.cocos2dx.lib.Cocos2dxEditText
|
||||
import org.cocos2dx.lib.Cocos2dxGLSurfaceView
|
||||
import org.cocos2dx.lib.Cocos2dxHelper
|
||||
@@ -205,7 +205,7 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
||||
filter.addAction(Intent.ACTION_USER_PRESENT)
|
||||
mReceiver = BaseRobTopActivity.ReceiverScreen()
|
||||
registerReceiver(mReceiver, filter)
|
||||
} catch (e: Exception) {
|
||||
} catch (_: Exception) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -261,6 +261,7 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
||||
return preferences.getBoolean(getString(R.string.preference_load_testing), false)
|
||||
}
|
||||
|
||||
@SuppressLint("UnsafeDynamicallyLoadedCode")
|
||||
private fun loadTestingLibraries() {
|
||||
// clear data dir
|
||||
val testDirPath = File(filesDir.path + File.separator + "testlib" + File.separator)
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package dev.xyze.geodelauncher
|
||||
package com.geode.geodelauncher
|
||||
|
||||
import dev.xyze.geodelauncher.utils.GJConstants
|
||||
import com.geode.geodelauncher.utils.GJConstants
|
||||
|
||||
object LauncherFix {
|
||||
fun loadLibrary() {
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package dev.xyze.geodelauncher
|
||||
package com.geode.geodelauncher
|
||||
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
@@ -26,8 +26,8 @@ import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.unit.sp
|
||||
import androidx.core.content.edit
|
||||
import dev.xyze.geodelauncher.ui.theme.GeodeLauncherTheme
|
||||
import dev.xyze.geodelauncher.utils.LaunchUtils
|
||||
import com.geode.geodelauncher.ui.theme.GeodeLauncherTheme
|
||||
import com.geode.geodelauncher.utils.LaunchUtils
|
||||
import java.io.File
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ fun TestingUtils() {
|
||||
contentDescription = "Folder Icon"
|
||||
)
|
||||
Spacer(Modifier.size(ButtonDefaults.IconSpacing))
|
||||
Text("Open Geode folder")
|
||||
Text("Open external folder")
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package dev.xyze.geodelauncher.ui.theme
|
||||
package com.geode.geodelauncher.ui.theme
|
||||
|
||||
import androidx.compose.ui.graphics.Color
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package dev.xyze.geodelauncher.ui.theme
|
||||
package com.geode.geodelauncher.ui.theme
|
||||
|
||||
import android.app.Activity
|
||||
import android.os.Build
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package dev.xyze.geodelauncher.ui.theme
|
||||
package com.geode.geodelauncher.ui.theme
|
||||
|
||||
import androidx.compose.material3.Typography
|
||||
import androidx.compose.ui.text.TextStyle
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package dev.xyze.geodelauncher.utils
|
||||
package com.geode.geodelauncher.utils
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package dev.xyze.geodelauncher.utils
|
||||
package com.geode.geodelauncher.utils
|
||||
|
||||
import android.content.pm.PackageInfo
|
||||
import android.content.pm.PackageManager
|
||||
Reference in new issue
Block a user