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

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

data_extraction_rules.xml29 lines · 1.6 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Storage audited:
3 file/datastore_default.preferences_pb the app's only user state
4 worth restoring: the car launcher's pinned dock (PinnedAppsPrefs,
5 an ordered list of car-app ids the user chose). It is the sole
6 key this app writes to the shared DataStoreUtils store.
7 sharedpref/ma_auto_messaging.xml messaging-mirror consent.
8 sharedpref/ma_auto_music_capture.xml music-capture consent.
9 Both consents are deliberately NOT carried: consent to mirror
10 messages or capture music off the phone is granted per device,
11 fail-closed, and must be re-granted on a new device (the system
12 notification-access / media-projection grants do not transfer
13 either).
14 sharedpref/ma_auto_refused_car_apps.xml car apps that refused the
15 handshake, keyed to their version code; re-derived on first
16 connection to each app, so also left out by the allowlist.
17 No database, no SQLCipher, no other app-private files (TTS scratch
18 lives in cacheDir, which Android never backs up).
19
20 Only the pinned dock travels, on both channels; cloud backup is
21 gated on device encryption. Everything not listed is excluded. -->
22<data-extraction-rules>
23 <cloud-backup disableIfNoEncryptionCapabilities="true">
24 <include domain="file" path="datastore_default.preferences_pb" />
25 </cloud-backup>
26 <device-transfer>
27 <include domain="file" path="datastore_default.preferences_pb" />
28 </device-transfer>
29</data-extraction-rules>