INNER CODE UNIT · Kotlin
DependedHookFailedException
NexAlloy/NexAlloy · app/src/main/java/io/github/nexalloy/PatchExecutor.kt:144
class DependedHookFailedException(
subHookName: String, exception: Throwable
) : Exception("Depended hook $subHookName failed.", exception)
@SuppressLint("CommitPrefEdits")
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>