ObliviOS Developer portal Project site

Home / Decisions / ADR-129

Plan 7B: the own AirPods pages are one unexported activity AllSettingsActivity built from the small SettingsLib modules.

Proposed, recorded 4 October 2026.

Decision
ADR-129
Date
2026-10-04
Status
ProposedProposed (2026-10-04: AIR-165, AIR-167, AIR-173, AIR-174 and AIR-176 Pass on image 2026100211; AIR-166 Fail (conformance, 15 violations on 2026100211, 17 on 2026100214); AIR-170 Pass for the alias on 2026100214 (patch 0012) and AIR-171 partial (the model number reads A3048); AIR-168 and AIR-175 Pass and AIR-172 Pass for an unlocked phone on 2026100214; AIR-177 partial. Accepted only when every row has device evidence)
Part
AirPods
Mentions
ADR-128
Mentioned by
ADR-132, ADR-134, ADR-135, ADR-136

1Decision

Plan 7B: the own AirPods pages are one unexported activity AllSettingsActivity built from the small SettingsLib modules (SettingsLibSettingsTheme, SettingsLibCollapsingToolbarBaseActivity, SettingsLibPreference, SettingsLibSegmentedButtonPreference, SettingsLibSliderPreference, SettingsLibFooterPreference), opened from the "All AirPods settings" row of Settings' device page; it holds Listening mode with the Adaptive strength slider (three positions 0, 50, 100), Comfort with a continuous lowered-volume slider (10 to 90 percent, through patch 0011), Press and hold (a cycle of at least two listening modes, frame 1A <mask>), Name (frame 1A 01 <len> 00 <utf8>, validated text, 1 to 32 bytes, the phone's alias follows) and About (model number and firmware from the device information frame 0x001D, serial numbers skipped at parse time).

Equalizer and Find (Last seen, Play sound) leave the page. Patch 0011 widens setAirPodsMusicDuck from four constants to an integer from 10 to 90. A connection sheet is shown once per connection from the ACL_CONNECTED broadcast through a full-screen-intent notification (permissions USE_FULL_SCREEN_INTENT, normal, and POST_NOTIFICATIONS, runtime), only with the owner's yes recorded in Task 7.

2Why and evidence

Owner decisions 2026-10-04 (chat): scope "everything with a known protocol", continuous volume slider through patch 0011, case value closed (ADR-128).

Evidence: spike (module build exit 0, theme resolved, SettingsLib classes in the APK); captures AIR-161 to AIR-164 (device information field order and anchor, rename accepted, press and hold mask proven by the owner's stem test, adaptive strength rounds to 0, 50 or 100 and is readable only after a new session).

Alternatives rejected: a Compose page (does not match Settings by construction), a scan for the case (ADR-128), START_ACTIVITIES_FROM_BACKGROUND for the sheet (privileged and broad), an Equalizer or Find row without a protocol (a control that does not work).

3Consequences

New radio input: the device information strings (bounded, anchored on the vendor field, charset-checked, serials never kept). New frames sent: 2E <0..100>, 1A <mask> (at least two modes), rename (validated text). The press and hold state is not reported by this pair, so the page shows the last value written (stored app-private, no backup) or nothing chosen. The adaptive strength page value is the last value written until a new session reads the real one. Name limit 32 bytes is a conservative choice, not measured. The page needs the SettingsLib modules at every rebase of GrapheneOS.

4Review when

A rebase that changes the SettingsLib modules or Theme.SubSettingsBase.Expressive; a pair whose device information has another layout (then the About rows show nothing and the frame stays unrecognised); an owner request for Equalizer or Find (a new design).

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