From 5b1139ce43df1f5c2c848a8209a9e618857031ce Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 7 May 2022 21:13:28 +0200 Subject: [PATCH] fix: leftover TODOs Signed-off-by: oSumAtrIX --- src/main/kotlin/app/revanced/cli/Patcher.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/cli/Patcher.kt b/src/main/kotlin/app/revanced/cli/Patcher.kt index 59a6b78..3e8275a 100644 --- a/src/main/kotlin/app/revanced/cli/Patcher.kt +++ b/src/main/kotlin/app/revanced/cli/Patcher.kt @@ -52,7 +52,6 @@ internal class Patcher { } private fun app.revanced.patcher.Patcher.addPatchesFiltered() { - // TODO: get package metadata (outside of this method) for apk file which needs to be patched val packageName = this.packageName val packageVersion = this.packageVersion @@ -64,7 +63,6 @@ internal class Patcher { Patches.loadPatches().forEach patch@{ val patch = it() - // TODO: filter out incompatible patches with package metadata val filterOutPatches = true if (filterOutPatches && !patch.metadata.compatiblePackages.any { packageMetadata -> packageMetadata.name == packageName && packageMetadata.versions.any {