From 02abace127c9ef906c06ded9135cbba2871bd1e6 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 28 Jan 2024 14:47:01 +0400 Subject: [PATCH] fix(YouTube): Do not crash on startup for root installs (#2655) --- .../revanced/patches/youtube/misc/settings/SettingsPatch.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt index d2360b8f1..dd33c8637 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt @@ -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() {