mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
feat(YouTube): add support version 19.25.39
, drop support version 19.23.40
This commit is contained in:
@ -18,6 +18,7 @@ abstract class BaseMainActivityResolvePatch(
|
||||
setOf(mainActivityOnCreateFingerprint)
|
||||
) {
|
||||
lateinit var mainActivityMutableClass: MutableClass
|
||||
lateinit var onConfigurationChangedMethod: MutableMethod
|
||||
|
||||
private lateinit var constructorMethod: MutableMethod
|
||||
private lateinit var onBackPressedMethod: MutableMethod
|
||||
@ -38,6 +39,9 @@ abstract class BaseMainActivityResolvePatch(
|
||||
// set onBackPressed method
|
||||
onBackPressedMethod = getMethod("onBackPressed")
|
||||
onBackPressedMethodIndex = onBackPressedMethod.getTargetIndexOrThrow(Opcode.RETURN_VOID)
|
||||
|
||||
// set onConfigurationChanged method
|
||||
onConfigurationChangedMethod = getMethod("onConfigurationChanged")
|
||||
}
|
||||
|
||||
fun injectConstructorMethodCall(classDescriptor: String, methodDescriptor: String) =
|
||||
|
Reference in New Issue
Block a user