Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / updater / src / main / res / xml / data_extraction_rules.xml

data_extraction_rules.xml36 lines · 1.7 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Deny-all. This app holds no user data worth restoring, and
3 android:allowBackup="false" already opts it out of cloud backup;
4 these rules make the same denial explicit for device transfer.
5
6 Storage audited:
7 file/datastore_default.preferences_pb the app's only persisted
8 state (UpdaterPreferences via DataStoreUtils): two user toggles
9 (auto-install, metered-allowed) mixed in one file with
10 device-bound transient state — the build waiting on the
11 inactive A/B slot for a reboot, the last check result and its
12 timestamp, the artifact name of the partial download, and an
13 incremental update_engine already refused. Restoring that file
14 on another device would import a pending-reboot claim for a
15 slot that does not exist there, so even the toggles are not
16 carried: they are two switches to re-set on the new device.
17 /data/ota_package/update.zip the staged OTA package, outside the
18 app sandbox (update_engine reads it as its own uid); never in
19 backup scope.
20 No database, no SharedPreferences, no SQLCipher. -->
21<data-extraction-rules>
22 <cloud-backup>
23 <exclude domain="root" path="." />
24 <exclude domain="file" path="." />
25 <exclude domain="database" path="." />
26 <exclude domain="sharedpref" path="." />
27 <exclude domain="external" path="." />
28 </cloud-backup>
29 <device-transfer>
30 <exclude domain="root" path="." />
31 <exclude domain="file" path="." />
32 <exclude domain="database" path="." />
33 <exclude domain="sharedpref" path="." />
34 <exclude domain="external" path="." />
35 </device-transfer>
36</data-extraction-rules>