diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/microg/patch/resource/MicroGResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/microg/patch/resource/MicroGResourcePatch.kt index 814ea4424..05daad446 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/microg/patch/resource/MicroGResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/microg/patch/resource/MicroGResourcePatch.kt @@ -6,7 +6,7 @@ import app.revanced.patcher.annotation.Version import app.revanced.patcher.data.impl.ResourceData import app.revanced.patcher.patch.PatchResult import app.revanced.patcher.patch.PatchResultSuccess -import app.revanced.patcher.patch.annotations.Dependencies +import app.revanced.patcher.patch.annotations.DependsOn import app.revanced.patcher.patch.impl.ResourcePatch import app.revanced.patches.youtube.misc.manifest.patch.FixLocaleConfigErrorPatch import app.revanced.patches.youtube.misc.microg.annotations.MicroGPatchCompatibility @@ -16,7 +16,8 @@ import app.revanced.patches.youtube.misc.microg.shared.Constants.REVANCED_PACKAG import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsResourcePatch @Name("microg-resource-patch") -@Dependencies([FixLocaleConfigErrorPatch::class, SettingsResourcePatch::class]) +@DependsOn(FixLocaleConfigErrorPatch::class) +@DependsOn(SettingsResourcePatch::class) @Description("Resource patch to allow YouTube ReVanced to run without root and under a different package name.") @MicroGPatchCompatibility @Version("0.0.1") @@ -53,9 +54,9 @@ class MicroGResourcePatch : ResourcePatch() { "android:authorities=\"com.google.android.youtube", "android:authorities=\"$REVANCED_PACKAGE_NAME" ).replace( "com.google.android.youtube.permission.C2D_MESSAGE", "$REVANCED_PACKAGE_NAME.permission.C2D_MESSAGE" - ).replace( // TODO: might not be needed + ).replace( // might not be needed "com.google.android.youtube.lifecycle-trojan", "$REVANCED_PACKAGE_NAME.lifecycle-trojan" - ).replace( // TODO: might not be needed + ).replace( // might not be needed "com.google.android.youtube.photopicker_images", "$REVANCED_PACKAGE_NAME.photopicker_images" ).replace( "com.google.android.c2dm", "$BASE_MICROG_PACKAGE_NAME.android.c2dm"