mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-22 10:23:55 +00:00
fix: Disable Prevent screenshot detection by default (#6511)
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user