summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorhughchen <hughchen@google.com>2019-08-21 15:08:19 +0800
committerhughchen <hughchen@google.com>2019-08-23 16:06:01 +0800
commit3f8569049a10c5187502baa638e083337d06a785 (patch)
treebabe4bdbaa31878927a7423d4a5f02b5c92a78a7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent620c61dc8ada803c93f497c5c406cf03ee6e43bd (diff)
Fix that Bluetooth device should not duplicate in the list
This CL before, if someone call addDevice() twice to add same device and previous addDevice() call is synchronized, it will cause list have duplicate device. Because addDevice() will add device directly without check whether device already in the list. This CL is add duplicate check in addDevice(). Bug: 139516941 Test: make -j42 RunSettingsLibRoboTests Change-Id: I859067048c71be95b0a3b2ff0317ea93f49cea7d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions