Loading services/companion/java/com/android/server/companion/AssociationStoreImpl.java +1 −2 Original line number Diff line number Diff line Loading @@ -125,8 +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( current.getDeviceMacAddress(), updated.getDeviceMacAddress()); macAddressChanged = Objects.equals(currentAddress, updatedAddress); if (macAddressChanged) { if (currentAddress != null) { mAddressMap.get(currentAddress).remove(id); Loading Loading
services/companion/java/com/android/server/companion/AssociationStoreImpl.java +1 −2 Original line number Diff line number Diff line Loading @@ -125,8 +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( current.getDeviceMacAddress(), updated.getDeviceMacAddress()); macAddressChanged = Objects.equals(currentAddress, updatedAddress); if (macAddressChanged) { if (currentAddress != null) { mAddressMap.get(currentAddress).remove(id); Loading