mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-04 16:44:29 +02:00
feat(youtube): remove WatchWhileActivity from dummy class
This commit is contained in:
parent
4f65c3717c
commit
b29c956a68
@ -41,7 +41,7 @@ class DoubleBackToClosePatch : BytecodePatch(
|
|||||||
insertIndex,
|
insertIndex,
|
||||||
"invoke-static {p0}, $INTEGRATIONS_CLASS_DESCRIPTOR" +
|
"invoke-static {p0}, $INTEGRATIONS_CLASS_DESCRIPTOR" +
|
||||||
"->" +
|
"->" +
|
||||||
"closeActivityOnBackPressed(Lcom/google/android/apps/youtube/app/watchwhile/WatchWhileActivity;)V"
|
"closeActivityOnBackPressed(Landroid/app/Activity;)V"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} ?: return OnBackPressedFingerprint.toErrorResult()
|
} ?: return OnBackPressedFingerprint.toErrorResult()
|
||||||
|
@ -37,7 +37,7 @@ class ChangeHomePagePatch : BytecodePatch(
|
|||||||
it.addInstructions(
|
it.addInstructions(
|
||||||
it.implementation!!.instructions.size - 1, """
|
it.implementation!!.instructions.size - 1, """
|
||||||
move-object/from16 v0, p1
|
move-object/from16 v0, p1
|
||||||
invoke-static {v0}, $NAVIGATION->changeHomePage(Lcom/google/android/apps/youtube/app/watchwhile/WatchWhileActivity;)V
|
invoke-static {v0}, $NAVIGATION->changeHomePage(Landroid/app/Activity;)V
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
} ?: return LauncherActivityFingerprint.toErrorResult()
|
} ?: return LauncherActivityFingerprint.toErrorResult()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user