Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / health / src / main / res / xml / data_extraction_rules.xml
data_extraction_rules.xml31 lines · 1.6 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Overrides the permissive default in the shared :library module. |
| 3 | |
| 4 | Storage audited: |
| 5 | database/passwords-db HealthDatabase (Record/Ingredient/Recipe/ServingUnit/ |
| 6 | RecipeIngredient): health, nutrition, sleep and exercise |
| 7 | records. Highly sensitive. |
| 8 | file/food.db, food.db.part, food.bin.part, food.bin.meta.json |
| 9 | Open Food Facts index unpacked from a bundled asset. |
| 10 | Large and fully regenerable. |
| 11 | file/datastore_default.preferences_pb sync bookkeeping. |
| 12 | sharedpref/sync declared in HealthAPI but never read or written. |
| 13 | sharedpref/secure_prefs keystore-wrapped SQLCipher passphrase. |
| 14 | |
| 15 | Health records must not reach Google's servers, so cloud backup is off entirely. |
| 16 | Device-to-device transfer never leaves the two devices, so records move with the |
| 17 | user; the regenerable food index and the keystore-bound passphrase do not. --> |
| 18 | <data-extraction-rules> |
| 19 | <cloud-backup> |
| 20 | <exclude domain="root" path="." /> |
| 21 | <exclude domain="file" path="." /> |
| 22 | <exclude domain="database" path="." /> |
| 23 | <exclude domain="sharedpref" path="." /> |
| 24 | <exclude domain="external" path="." /> |
| 25 | </cloud-backup> |
| 26 | <device-transfer> |
| 27 | <!-- Whole-domain include so the -wal/-shm sidecars travel with the database. --> |
| 28 | <include domain="database" path="." /> |
| 29 | <include domain="file" path="datastore_default.preferences_pb" /> |
| 30 | </device-transfer> |
| 31 | </data-extraction-rules> |