From 04c2202a3d7f920e63d42e7970f1f88491b2be63 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 18 Feb 2023 20:48:41 +0100 Subject: [PATCH] chore: add todo Signed-off-by: oSumAtrIX --- .../settings/resource/patch/AbstractSettingsResourcePatch.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/app/revanced/patches/shared/settings/resource/patch/AbstractSettingsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/shared/settings/resource/patch/AbstractSettingsResourcePatch.kt index f62c24b21..778916b55 100644 --- a/src/main/kotlin/app/revanced/patches/shared/settings/resource/patch/AbstractSettingsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/shared/settings/resource/patch/AbstractSettingsResourcePatch.kt @@ -28,6 +28,7 @@ abstract class AbstractSettingsResourcePatch( override fun execute(context: ResourceContext): PatchResult { /* * used for self-restart + * TODO: do this only, when necessary */ context.xmlEditor["AndroidManifest.xml"].use { editor -> editor.file.getElementsByTagName("manifest").item(0).also {