summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorhughchen <hughchen@google.com>2020-05-20 14:19:11 +0800
committerhughchen <hughchen@google.com>2020-05-25 13:46:00 +0800
commitb85a16cd08c654bf4d85e51745f35f798f0093bd (patch)
tree9058d4259070803de2a82429085f9a190b74635b /tools/aapt2/diff/Diff.cpp
parente39c2e7e61ebcab215af5bd7c9c6525bd4b76f35 (diff)
Fix output switcher will show wrong active device
- The output switcher will show wrong active device because LocalMediaManager didn't go through all list. It will return PhoneMediaDevice immediately if found PhoneMediaDevice in the list, actually the active device is end of the list. This CL will cache PhoneMediaDevice if all BluetoothMediaDevice in the list are not active device then return PhoneMediaDevice as active device. - Add log and test case. Bug: 156689249 Test: make -j42 RunSettingsLibRoboTests Change-Id: I8174168fa0578aa101efc3dd4f89e4bacb31082f
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions