- Decision
- ADR-189
- Date
- 2026-10-22
- Status
- ProposedProposed (owner request, 2026-10-22)
- Part
- Atlas
- Mentions
- ADR-157
1Decision
The Data Map app may write one file of what it shows, only when the user asks for it, to a place the user chooses. (1) A row "Export the services your apps contact" under "Your data" in Settings opens a dialog that says what the file holds and that the chosen place, and any app that reads it, can keep it; Cancel is the first button.
(2) The file is written through the system document picker (ACTION_CREATE_DOCUMENT: a new file, named by the user or accepted with the suggested atlas-services-<date>.tsv) and the content URI that the picker returns; the app gets no storage permission, no INTERNET, no provider, receiver or share target, and no new component.
(3) The file is plain text, tab-separated, one row per app and service of the snapshot: package, service key (the classifier suffix, a registrable domain or ip:<address>), company name, category, count, foreground, background, first and last seen (UTC, to the second), via DNS. It holds no host name below the service key, no bytes, no server place and no relation between companies.
(4) The data is the snapshot of the calling user at the moment the picker returns; the app keeps nothing between the dialog and the write, writes at no other time, and has no setting that exports by itself. (5) Narrows ADR-157 and the Data Map design section 10 ("No export path exists") and the entry "writing files of its own, sharing or exporting any data" in the row "Data Map app" of capability-boundaries.md, for this one user-driven path only.
2Why and evidence
The review of the masked tier (MSK-013) needs the services that the owner's apps contact, and there is no other way to read them on a retail build: stallion runs a user build (adb root refused), the history is in credential-encrypted storage that the shell cannot read, the Binder API needs the signature permission READ_DATA_MAP and the service type is findable only by the app's domain, and dumpsys datamap prints counters only [measured: stallion 2026101405, 2026-10-22].
The app's domain is an untrusted-app domain (app_domain and untrusted_app_domain), which already may use the document picker [verified-in-source: platform datamap/patches/system-sepolicy/0001, private/datamap_app.te]; the service key is a classifier suffix or registrable domain, not a full host name [verified-in-source: DataMapEntry.aidl serviceKey].
3Consequences
The file is the user's own data leaving the privacy boundary on the user's act: a picker destination can be a cloud provider or a synced folder, a file in shared storage can be read by an app that holds storage access, and the package names show which apps are installed; the dialog says so and nothing is exported unprompted. No other app can trigger or intercept it (the app declares no exported component beyond the launcher; the picker result is handled by the app's own activity). In the decoy session the export holds the decoy's own snapshot. Only what the service already returns to this app is exported.
4Review when
A review finds a path that exports without the dialog, a field beyond the list in (3), or a way for another app to start or read the export; the owner wants a different format or a share sheet.
Read from docs/governance/decision-log.md, entry ADR-189.