From 5b5c50254d533faa0e04d542f4859cbef610713e Mon Sep 17 00:00:00 2001 From: Sayanth <13906889+SayanthD@users.noreply.github.com> Date: Wed, 21 Jan 2026 23:14:04 +0530 Subject: [PATCH] fix: Disable `Prevent screenshot detection` by default (#6511) --- .../all/misc/screenshot/PreventScreenshotDetectionPatch.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/patches/src/main/kotlin/app/revanced/patches/all/misc/screenshot/PreventScreenshotDetectionPatch.kt b/patches/src/main/kotlin/app/revanced/patches/all/misc/screenshot/PreventScreenshotDetectionPatch.kt index 46e9eefa8..b66753e2c 100644 --- a/patches/src/main/kotlin/app/revanced/patches/all/misc/screenshot/PreventScreenshotDetectionPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/all/misc/screenshot/PreventScreenshotDetectionPatch.kt @@ -32,6 +32,7 @@ private val unregisterScreenCaptureCallbackMethodReference = ImmutableMethodRefe val preventScreenshotDetectionPatch = bytecodePatch( name = "Prevent screenshot detection", description = "Removes the registration of all screen capture callbacks. This prevents the app from detecting screenshots.", + use = false ) { dependsOn(transformInstructionsPatch( filterMap = { _, _, instruction, instructionIndex ->