Add audio switch UI in sound settings
- Build two controller to control list preferences. - MediaOutputPreferenceController which allows switching the media output between current device and connected BT device supporting A2DP. It also controls disabling media output switching during a call or cast mode. - HandsFreeProfilePreferenceController which allows switching between HFP-connected BT devices while in on-call state. - Add test cases for controllers. Bug: 74130772 Test: make RunSettingsRoboTests ROBOTEST_FILTER="MediaOutputPreferenceControllerTest" -j56 Test: make RunSettingsRoboTests ROBOTEST_FILTER="HandsFreeProfileOutputPreferenceControllerTest" -j56 Test: make RunSettingsRoboTests ROBOTEST_FILTER="AudioOutputSwitchPreferenceControllerTest" -j56 Change-Id: I37f5418442ce77e72cdff07f071ea519ab1047f3
Loading
Please register or sign in to comment