Update connected device summary
* Add dispatchAudioModeChanged() in CachedBluetoothDeviceManager for notify CacheBluetoothDevice to update their summary * Add 5 combination that used to show the summary of CacheBluetoothDevice case 1: device battery not unknown and is a active device ex: show summary as "Active, 100% battery" case 2: device battery unkonwn and is a active device ex: show summary as "Active" case 3: device battery not unknown and not a active device ex: show summary as "100% battery" case 4: device battery unkonwn and not a active device ex: not show the summary case 5: device is in bonding state ex: show summary as "Pairing..." Bug: 78318415 Test: make -j50 RunSettingsLibRoboTests Change-Id: I70bf5386ff045ef4f07fb86fbdc8b943befc634c
Loading
Please register or sign in to comment