Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3f856904 authored by hughchen's avatar hughchen
Browse files

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
parent 620c61dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment