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
Loading
Please register or sign in to comment