Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a728038 authored by Angela Wang's avatar Angela Wang
Browse files

Preset: The controller updates the preset UI with remote status

Previously, the preset control was fragmented or duplicated across the codebase, offering only a single, unified option.

This commit centralizes all UI logic and remote communication into a new PresetUiController. This component dynamically presents either a unified control or separate left/right controls, based on whether the devices' preset lists are identical.

This change can simplify the code and improve consistency by creating a single, reusable component for Settings and SystemUI.

Flag: com.android.settingslib.flags.hearing_devices_separated_preset_control
Bug: 417628947
Test: atest PresetUiControllerTest

Change-Id: Ib114caf0e3a57f648192418775d4b930510415f1
parent 272fe85d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment