diff options
author | timhypeng <timhypeng@google.com> | 2018-03-29 14:23:21 +0800 |
---|---|---|
committer | timhypeng <timhypeng@google.com> | 2018-04-30 15:35:08 +0800 |
commit | f050932e2a7a35f9d64a77fcdaff475bdab8f749 (patch) | |
tree | 2ed2b31233160d0e5cc1f08945b2c713e24222e8 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1b25c9a89ca6e085224b037df89c3d9d39b14175 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions