Fix did not show active status when changing the active device
Root Cause: The reported active device might be sub device or member device which are not listed in CachedBluetoothDevice list, so the main CachedBluetoothDevice on the UI will not reflect its correct status. Solution: When searching in the list, also search their sub device and member device then report active on the main CachedBluetoothDevice. Bug: 300220339 Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=BluetoothEventManagerTest Change-Id: I5740e61a7c8ac498c63e6aeaf11f355643ab42ed
Loading
Please register or sign in to comment