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

Commit 142dcfb1 authored by Sergey Nikolaienkov's avatar Sergey Nikolaienkov Committed by Android (Google) Code Review
Browse files

Merge "Fix checking if association's MAC address changed in AssociationStoreImpl"

parents d42a4f09 895defc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ class AssociationStoreImpl implements AssociationStore {
            // Update the MacAddress-to-List<Association> map if needed.
            final MacAddress updatedAddress = updated.getDeviceMacAddress();
            final MacAddress currentAddress = current.getDeviceMacAddress();
            macAddressChanged = Objects.equals(currentAddress, updatedAddress);
            macAddressChanged = !Objects.equals(currentAddress, updatedAddress);
            if (macAddressChanged) {
                if (currentAddress != null) {
                    mAddressMap.get(currentAddress).remove(id);