ObliviOS Developer portal Project site

Home / Decisions / ADR-201

Amend ADR-200 (owner instruction 2026-10-29: everything in Settings is divided logically, an app's page has what is set per app, Compartments belongs there too, and it…

Accepted, recorded 29 October 2026.

Decision
ADR-201
Date
2026-10-29
Status
AcceptedAccepted (the owner's instruction; landed as packages/apps/Settings fee9d093fdd and vendor/freeholdos/exit, module builds recorded in NET-013)
Mentions
ADR-200
Mentioned by
ADR-205

1Decision

Amend ADR-200 (owner instruction 2026-10-29: everything in Settings is divided logically, an app's page has what is set per app, Compartments belongs there too, and it must blend into Settings).

Compartments appears in two places and nowhere else: the device level under Network & internet (the switch, the status, the list of apps, the hosts), and the page of one app, as a row "Compartments" on the app's info page under data usage (the three stands as radio rows and the hosts that see this app's address). A tap on an app in the list opens the same page.

The row is the one patch to the Settings app (privacy/exit packages-apps-Settings/0001, AppCompartmentsPreference.kt): it opens org.freeholdos.exit.ExitAppActivity by an explicit component with the data package:<name>, shows no value from Compartments, and is absent where the page does not resolve among the system apps (MATCH_SYSTEM_ONLY: another user, no Compartments), for system uids and for Compartments itself.

The page is exported with the permission NETWORK_SETTINGS, so only the Settings app can open it, and it closes on a package that is not installed. The place of each part is in section 11 of the design.

2Why and evidence

[verified-in-source] the App info page of this tree is the SPA page AppInfoSettings.kt with one row per feature (AppDataUsagePreference, AppNotificationPreference); the first security review of the patch (package-name squatting of the page) is closed by MATCH_SYSTEM_ONLY.

3Consequences

One place per app, and the same wording and widgets as the stock rows; no IPC, no provider and no stored state of Compartments in Settings.

4Review when

The row shows no summary (the stand of the app); a summary needs a signature-protected provider of the exit app, which is more surface for a line of text. The row is a Kotlin and Compose file of the Settings app: it conflicts with an upstream change of AppInfoSettings.kt (one added line).

Read from docs/governance/decision-log.md, entry ADR-201.