Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Try to not allow backup from the system in D2D

LucasMZ0ade0a280769
diff --git a/mobile/android/app/src/main/AndroidManifest.xml b/mobile/android/app/src/main/AndroidManifest.xml
index 3975d8a477..9febaf86a4 100644
--- a/mobile/android/app/src/main/AndroidManifest.xml
+++ b/mobile/android/app/src/main/AndroidManifest.xml
@@ -8,6 +8,7 @@
android:requestLegacyExternalStorage="true"
android:allowBackup="false"
android:fullBackupContent="false"
+ android:dataExtractionRules="@xml/data_extraction_rules"
android:largeHeap="true"
android:networkSecurityConfig="@xml/network_security_config"
>
diff --git a/mobile/android/app/src/main/res/xml/data_extraction_rules.xml b/mobile/android/app/src/main/res/xml/data_extraction_rules.xml
new file mode 100644
index 0000000000..16da40e6d4
--- /dev/null
+++ b/mobile/android/app/src/main/res/xml/data_extraction_rules.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data-extraction-rules>
+ <cloud-backup>
+ <exclude domain="root" path="."/>
+ <exclude domain="file" path="."/>
+ <exclude domain="database" path="."/>
+ <exclude domain="sharedpref" path="."/>
+ <exclude domain="external" path="."/>
+ </cloud-backup>
+
+ <device-transfer>
+ <exclude domain="root" path="."/>
+ <exclude domain="file" path="."/>
+ <exclude domain="database" path="."/>
+ <exclude domain="sharedpref" path="."/>
+ <exclude domain="external" path="."/>
+ </device-transfer>
+</data-extraction-rules>
\ No newline at end of file