mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
enable package optimizations
This commit is contained in:
4 files changed
+17
-22
No files matched your search
@@ -1,7 +1,9 @@
|
||||
package com.geode.launcher
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.geode.launcher.utils.Constants
|
||||
|
||||
@Keep
|
||||
object LauncherFix {
|
||||
fun loadLibrary() {
|
||||
System.loadLibrary(Constants.LAUNCHER_FIX_LIB_NAME)
|
||||
|
||||
@@ -16,6 +16,7 @@ import android.util.Log
|
||||
import android.widget.Toast
|
||||
import androidx.activity.result.ActivityResultLauncher
|
||||
import androidx.activity.result.contract.ActivityResultContracts
|
||||
import androidx.annotation.Keep
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.documentfile.provider.DocumentFile
|
||||
@@ -29,6 +30,7 @@ import java.io.File
|
||||
import java.lang.ref.WeakReference
|
||||
import kotlin.system.exitProcess
|
||||
|
||||
@Keep
|
||||
@Suppress("unused", "KotlinJniMissingFunction")
|
||||
object GeodeUtils {
|
||||
private lateinit var activity: WeakReference<AppCompatActivity>
|
||||
|
||||
Reference in new issue
Block a user