mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-25 03:31:03 +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(
|
val preventScreenshotDetectionPatch = bytecodePatch(
|
||||||
name = "Prevent screenshot detection",
|
name = "Prevent screenshot detection",
|
||||||
description = "Removes the registration of all screen capture callbacks. This prevents the app from detecting screenshots.",
|
description = "Removes the registration of all screen capture callbacks. This prevents the app from detecting screenshots.",
|
||||||
|
use = false
|
||||||
) {
|
) {
|
||||||
dependsOn(transformInstructionsPatch(
|
dependsOn(transformInstructionsPatch(
|
||||||
filterMap = { _, _, instruction, instructionIndex ->
|
filterMap = { _, _, instruction, instructionIndex ->
|
||||||
|
|||||||
Reference in New Issue
Block a user