summaryrefslogtreecommitdiff
path: root/src/com/android/settings/development/BluetoothMaxConnectedAudioDevicesPreferenceController.java
AgeCommit message (Collapse)Author
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-06-18Reorder and clean up imports.Fan Zhang
Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-04-20Migrate Settings to androidx.Aurimas Liutikas
Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2018-03-01Remove unnecessary onDeveloperOptionsSwitchEnabled/Disabled override.Doris Ling
- default implementation has been added in the super class to handle enabling/disabling the preference when the master developer options switch it turned on/off. Removing all subclass that originally implemented the methods that only contains the default behavior. Bug: 73955632 Test: make RunSettingsRoboTests Change-Id: I13c372c2ab498a5786b40cdc1ad3b5f3424abb5a
2018-03-01Bluetooth: Use config value for default max connected audio devicesJack He
* The first option in Bluetooth max connected audio devices preference should be using system default * Added template based string array to show system default in the list preference and in preference summary when default is chosen * Reset max connected audio devices property to empty string when development setting is disabled or when system default is chosen * Added instrumentation test to check preference array size and whether default value is within range of preference array values * Modified robolectric tests to verify the updated behaviors Bug: 64767509 Test: Enable and disable multi-device mode in development settings make -j32 RunSettingsRoboTests atest SettingsUnitTests:BluetoothMaxConnectedAudioDevicesPreferenceControllerInstrumentationTest Change-Id: I4915f12df0ac0e6f715e44e0df4a3707dde8d1a4
2018-01-05Bluetooth MaxConnectedAudioDevices show correct numberHansong Zhang
* When the preference is changed by the user, it will update the UI * When the Developer options is enabled, it will set the system property to default number * Change string "Maximum number of connected Bluetooth audio devices" to "Maximum connected Bluetooth audio devices" per discussion with Lindsay Bug: 71603731 Test: m ROBOTEST_FILTER="BluetoothMaxConnectedAudioDevicesPreferenceControllerTest" RunSettingsRoboTests -j40 Change-Id: I3e59534585065c84530da73ffded21894c845ce9
2018-01-05Add developer menu to select max number of connected audio devicesHansong Zhang
The new developer option modifies the system property "persist.bluetooth.maxconnectedaudiodevices"; it allows testing multiple connected devices for A2DP, AVRCP, HFP. Bug: 71603731 Test: Robolectric test Change-Id: Ie7887065f98193f4f34e0ff4a29959694e417124