feat(youtube): remove WatchWhileActivity from dummy class

This commit is contained in:
inotia00 2023-05-08 09:07:20 +09:00
parent 4f65c3717c
commit b29c956a68
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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()