mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-10 01:01:56 +01:00
fix(YouTube): Do not crash on startup for root installs (#2655)
This commit is contained in:
parent
aaed3a970b
commit
02abace127
1 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,6 @@ import java.io.Closeable
|
|||
@Patch(
|
||||
description = "Adds settings for ReVanced to YouTube.",
|
||||
dependencies = [
|
||||
ChangePackageNamePatch::class,
|
||||
IntegrationsPatch::class,
|
||||
SettingsResourcePatch::class,
|
||||
AddResourcesPatch::class
|
||||
|
@ -101,7 +100,7 @@ object SettingsPatch : BytecodePatch(
|
|||
targetClass = "com.google.android.libraries.social.licenses.LicenseActivity"
|
||||
) {
|
||||
// The package name change has to be reflected in the intent.
|
||||
ChangePackageNamePatch.setOrGetFallbackPackageName("com.google.android.apps.youtube")
|
||||
ChangePackageNamePatch.setOrGetFallbackPackageName("com.google.android.youtube")
|
||||
}
|
||||
|
||||
object PreferenceScreen : BasePreferenceScreen() {
|
||||
|
|
Loading…
Reference in a new issue