INNER CODE UNIT · Kotlin

PatchExecutor

NexAlloy/NexAlloy · app/src/main/java/io/github/nexalloy/PatchExecutor.kt:149

class PatchExecutor(
    val appContext: Application,
    val lpparam: XposedModuleInterface.PackageReadyParam,
    xposed: XposedInterface
) : IHook(xposed) {
    override val classLoader = lpparam.classLoader

    /**
     * @see io.github.nexalloy.activity.AppPatchSettingsActivity.AppPatchSettingsFragment.onCreate
     * */
    private val patchPreferences = xposed.getRemotePreferences(lpparam.packageName)

    private lateinit var patches: Array<Patch>
    private val appliedPatches = mutableSetOf<Patch>()
    private val failedPatches = mutableListOf<Patch>()

    // cache
    private val moduleRel = BuildConfig.COMMIT_HASH

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…