OSDN Git Service

Update the Bluetooth Active Device state in the Device Manager
authorPavlin Radoslavov <pavlin@google.com>
Tue, 6 Feb 2018 21:58:20 +0000 (13:58 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Fri, 23 Feb 2018 20:32:23 +0000 (12:32 -0800)
commitc7715a5519acfa7229f8a9c9b0f84abf59045efd
tree8f4c2000337fca252cafde6fc42cd8008a8510a6
parenta42bfa83dfa2415b1bb15517f468e359666ba0de
Update the Bluetooth Active Device state in the Device Manager

The Bluetooth Active Device state should be updated for all
CachedBluetoothDevice entries.
This should be done inside CachedBluetoothDeviceManager in SettingsLib
instead of BluetoothDeviceUpdater in the Settings app.

Bug: 72316092
Test: Manual - two headsets and switching the active device
Change-Id: If379bb0853dcd78385430cf14192e9adfae4ecd0
src/com/android/settings/bluetooth/BluetoothDeviceUpdater.java