feat(music/settings) when installing for the first time, a reboot dialog is shown

This commit is contained in:
inotia00
2023-09-05 12:26:24 +09:00
parent c5a68bf714
commit 5fda8e2c99
7 changed files with 26 additions and 8 deletions

View File

@ -64,7 +64,7 @@ class MicroGBytecodePatch : BytecodePatch(
)
)
context.injectInit("MicroGPatch", "checkAvailability")
context.injectInit("MicroGPatch", "checkAvailability", true)
}
}

View File

@ -79,7 +79,7 @@ class NavBarIndexHookPatch : BytecodePatch(
LithoFilterPatch.addFilter("$PATCHES_PATH/ads/NavBarIndexFilter;")
context.injectInit("NavBarIndexPatch", "initializeIndex")
context.injectInit("NavBarIndexPatch", "initializeIndex", true)
}

View File

@ -43,7 +43,7 @@ class SettingsBytecodePatch : BytecodePatch(
}
} ?: throw ThemeSetterSystemFingerprint.exception
context.injectInit("FirstRun", "initializationRVX")
context.injectInit("FirstRun", "initializationRVX", true)
}

View File

@ -222,7 +222,7 @@ class SponsorBlockBytecodePatch : BytecodePatch(
*/
VideoIdWithoutShortsPatch.injectCall("$INTEGRATIONS_PLAYER_CONTROLLER_CLASS_DESCRIPTOR->setCurrentVideoId(Ljava/lang/String;)V")
context.injectInit("FirstRun", "initializationSB")
context.injectInit("FirstRun", "initializationSB", true)
}