summaryrefslogtreecommitdiff
path: root/src/com/android/settings/development/AbstractBluetoothA2dpPreferenceController.java
AgeCommit message (Collapse)Author
2020-03-03Revert "Revert "Pass in active device to all BluetoothA2dp APIs ..."Rahul Sabnis
Revert submission 10303287-revert-10253996-bt-a2dp-no-null-FQRXACWPIA Reason for revert: Fixing breakage Reverted Changes: I4d9f2f819:Revert "Make sure calls to BluetoothA2dp APIs pass... I771ca0d57:Revert "Need to now pass in active device instead ... I76529c7a1:Revert "Pass in active device to all BluetoothA2dp... I297bda68d:Revert "Require user pass in a non-null BluetoothD... I525327959:Revert "Pass in active device to all BluetoothA2dp... I1d8660b11:Revert "Pass in active device to all BluetoothA2dp... Bug: 147287141 Test: robotests Merged-In: I5aecfa4b5a8e371b914573ddd080acb98078bfca Change-Id: I5aecfa4b5a8e371b914573ddd080acb98078bfca
2020-02-12Revert "Pass in active device to all BluetoothA2dp APIs in packa..."Daniel Chapin
Revert submission 10253996-bt-a2dp-no-null Reason for revert: b/149361880 Reverted Changes: If43934374: Pass in active device to all BluetoothA2dp APIs in... I22dd1ca36: Make sure calls to BluetoothA2dp APIs pass non-nul... If6475af6f: Require user pass in a non-null BluetoothDevice to... I9d0e2c89c: Pass in active device to all BluetoothA2dp APIs in... I1faa6174d: Need to now pass in active device instead of null ... I69a941a7e: Pass in active device to all BluetoothA2dp APIs in... Change-Id: I1d8660b11c917cf657e61478d58794182e17ec1a
2020-02-10Pass in active device to all BluetoothA2dp APIs inRahul Sabnis
packages/apps/Settings as null input is no longer supported Bug: 147287141 Test: Manual Change-Id: If43934374914c657080ffd0509f8095d988cc550
2019-02-14Mass clean up: don't cast class when not needed.Fan Zhang
Bug: none Test: rebuild Change-Id: Ie3f58a3d5ae99ade28a33dcac80c18de90d4d5b2
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-01-25Add support for Multi-A2DP state machines per devicePavlin Radoslavov
Update usage of A2dpService API calls that take BluetoothDevice as an additional argument. If the BluetoothDevice argument is null, the API applies to the device that is currently the Active A2DP device. Exempt-From-Owner-Approval: De-facto owner of the relevant changes is the Bluetooth team. Bug: 69269748 Test: Manual Change-Id: I7417b7b0741f706df475cb2b27fbe6525f744269
2017-10-17Introduce BluetoothAudioCodecPreferenceControllerjeffreyhuang
- Create new BluetoothAudioCodecPreferenceController - Create controller inside the DashboardFragment - Port logic from DevelopmentSettings into the controller Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: I90a0e58328196315fccbecd6d46531b4f0fcaef1
2017-10-12Introduce AbstractBluetoothA2dpPreferenceCtrljeffreyhuang
- Refactor BluetoothAudioSampleRatePreferenceController into AbstractBluetoothA2dpPreferenceController - Make it easier to implement future bluetooth a2dp preferences Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: Ie94273c2b97504f4fb63f11b1afc21abc6944ffb