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

Modern-Apps.git / games / kart / src / main / res / xml / data_extraction_rules.xml

data_extraction_rules.xml30 lines · 1.3 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Kart. Audited state: filesDir/datastore/settings.preferences_pb, holding the
4 current cup, the lifetime won counter and the best lap. No
5 SharedPreferences, no Room database, nothing written to external storage.
6 Back everything up; it is a few KB of pure user progress.
7 SCOPE: kart declares android:backupAgent=".platform.AppBackupAgent" and does
8 NOT set android:fullBackupOnly, so Android uses key/value backup and the
9 <cloud-backup> section below is NOT consulted. Cloud content is exactly
10 AppBackupAgent's datastoreNames = ["settings"], which is
11 the same data this file would have sent. <device-transfer> IS governed here,
12 and these rules become the cloud control too if the backupAgent is ever
13 removed.
14-->
15<data-extraction-rules>
16 <cloud-backup>
17 <include domain="root" path="." />
18 <include domain="file" path="." />
19 <include domain="database" path="." />
20 <include domain="sharedpref" path="." />
21 <include domain="external" path="." />
22 </cloud-backup>
23 <device-transfer>
24 <include domain="root" path="." />
25 <include domain="file" path="." />
26 <include domain="database" path="." />
27 <include domain="sharedpref" path="." />
28 <include domain="external" path="." />
29 </device-transfer>
30</data-extraction-rules>