Skip to content

Commit 5b5c502

Browse files
authored
fix: Disable Prevent screenshot detection by default (#6511)
1 parent ef052c0 commit 5b5c502

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patches/src/main/kotlin/app/revanced/patches/all/misc/screenshot/PreventScreenshotDetectionPatch.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ private val unregisterScreenCaptureCallbackMethodReference = ImmutableMethodRefe
3232
val preventScreenshotDetectionPatch = bytecodePatch(
3333
name = "Prevent screenshot detection",
3434
description = "Removes the registration of all screen capture callbacks. This prevents the app from detecting screenshots.",
35+
use = false
3536
) {
3637
dependsOn(transformInstructionsPatch(
3738
filterMap = { _, _, instruction, instructionIndex ->

0 commit comments

Comments
 (0)