aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/data_extraction_rules.xml
diff options
context:
space:
mode:
authorLena <lena@omega>2026-08-01 00:00:00 +0000
committerLena <lena@omega>2026-08-01 00:00:00 +0000
commit852a8a00273c9128efeed0217a8e5d3fcd8bf780 (patch)
treec72f959731fa3c7c809cf1a0222363b6c9c9b03b /app/src/main/res/xml/data_extraction_rules.xml
parentf379b93d52bf0dbd3816ec3f64d165314771d2a6 (diff)
downloadscrcpy-android-852a8a00273c9128efeed0217a8e5d3fcd8bf780.tar.gz
app: harden mirroring lifecycle and state
Diffstat (limited to 'app/src/main/res/xml/data_extraction_rules.xml')
-rw-r--r--app/src/main/res/xml/data_extraction_rules.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/res/xml/data_extraction_rules.xml b/app/src/main/res/xml/data_extraction_rules.xml
new file mode 100644
index 0000000..54630d1
--- /dev/null
+++ b/app/src/main/res/xml/data_extraction_rules.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- The app's private files hold the ADB private key and the list of
+ paired targets. Neither may leave this device: allowBackup="false"
+ already blocks cloud backup, but Android 12's device-to-device
+ transfer is a separate path and would otherwise clone an identity
+ the target has authorised onto another phone. -->
+<data-extraction-rules>
+ <cloud-backup>
+ <exclude domain="root"/>
+ </cloud-backup>
+ <device-transfer>
+ <exclude domain="root"/>
+ </device-transfer>
+</data-extraction-rules>