- Decision
- ADR-211
- Date
- 2026-11-02
- Status
- AcceptedAccepted 2026-11-02 (found on
lynx2026110201;CMP-042andCMP-043PASS onlynx2026110202) - Part
- Compartments
- Mentions
- ADR-173, ADR-208
- Mentioned by
- ADR-216, ADR-235
1Decision
Amend ADR-208: an app signed with the platform key (SystemUI, Settings) is part of the system and follows no defaults of Compartments. Under Isolated defaults it gets no persona and the sensors of the Protected baseline (real motion, the bias folded, never raw); an entry of its own still applies. The exit app lists it as System and its page offers no profile rows. Patches frameworks-base/0020 and 0021 of privacy/compartments-profiles; exit app vendor/freeholdos/exit b9429a3.
2Why and evidence
On 2026110201 the Isolated default gave SystemUI (uid 10150) a persona and the Wi-Fi service refused its nearby-device calls every 3 s until the default was changed Measured · IMG-026 device read.
A package signed with the platform key holds every signature permission and is part of the operating system, so a persona protects nothing from it and breaks what the system does for the user; no third-party app gains anything, because the rule keys on a signature that needs the platform key Verified in source · packages/SystemUI/Android.bp certificate: "platform"; PackageManager.checkSignatures(String, String) in core/java/android/content/pm/PackageManager.java.
The first version (0020) gave these packages raw sensors; the review before the build found that raw undoes the per-unit bias closure of ADR-173 for the system apps, so 0021 gives them the Protected baseline (folded).
3Consequences
The plan asks checkSignatures(package, "android") for every installed package at each rebuild (a few hundred calls, in memory). A platform-signed app the user wants isolated has no screen for it (the page says the app is part of the system); an entry set by script is still honoured. Settings itself shows System in the apps list.
4Review when
Accepted when CMP-042 and CMP-043 pass on lynx; reopen if a platform-signed app is found that must be isolated, or if the persona of an app turns out to reach the system through a shared uid.
Read from docs/governance/decision-log.md, entry ADR-211.