fix(YouTube): Do not crash on startup for root installs (#2655)
This commit is contained in:
parent
aaed3a970b
commit
02abace127
|
@ -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