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. Also: * Added a new CachedBluetoothDeviceManagerTest.java unit test * Added a new method CachedBluetoothDevice.isActiveDevice() for testing. Bug: 72316092 Test: Manual - two headsets and switching the active device Unit tests - "make RunSettingsLibRoboTests -j 40" Change-Id: Ic3fbf667c66ed2de8e5c3352bc1ffd829a9052cf Merged-In: Ic3fbf667c66ed2de8e5c3352bc1ffd829a9052cf (cherry picked from commit c285d559)
Loading
Please register or sign in to comment