mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-12-12 12:23:56 +01:00
fix(YouTube): Do not crash on startup for root installs (#2655)
This commit is contained in:
committed by
GitHub
parent
6f92659277
commit
663acf0bc5
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user