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

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

data_extraction_rules.xml20 lines · 998 BRaw
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Code editor. Overrides the permissive default in the shared :library module.
3
4 Storage audit:
5 file datastore/code_editor.preferences_pb Two keys: soft_wrap and folder_uri, the
6 SAF tree URI of the last opened project
7 folder.
8 No database, no SharedPreferences, no app-private files or caches. Source files are
9 edited in place through SAF in storage the app does not own.
10
11 Both keys are settings, so the DataStore is allowlisted for cloud backup. folder_uri will
12 need re-granting after a restore but is harmless to carry. -->
13<data-extraction-rules>
14 <cloud-backup>
15 <include domain="file" path="datastore/code_editor.preferences_pb" />
16 </cloud-backup>
17 <device-transfer>
18 <include domain="file" path="datastore/code_editor.preferences_pb" />
19 </device-transfer>
20</data-extraction-rules>