Skip to content

Commit 2c7eb72

Browse files
committed
feat: improve missing compatibility annotation tracing log
1 parent 512152f commit 2c7eb72

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/app/revanced/utils/patcher

1 file changed

+1
-1
lines changed

src/main/kotlin/app/revanced/utils/patcher/Patcher.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fun Patcher.addPatchesFiltered(allPatches: List<Class<out Patch<Context>>>) {
3131
return@patchLoop
3232
}
3333

34-
if (compatiblePackages == null) logger.trace("$prefix: Missing compatibility annotation. Continuing.")
34+
if (compatiblePackages == null) logger.trace("$prefix: No constraint on packages. Continuing.")
3535
else {
3636
if (!compatiblePackages.any { it.name == packageName }) {
3737
logger.trace("$prefix: Incompatible with $packageName. This patch is only compatible with ${

0 commit comments

Comments
 (0)