Loading services/companion/java/com/android/server/companion/BackupRestoreProcessor.java +3 −3 Original line number Diff line number Diff line Loading @@ -240,8 +240,8 @@ class BackupRestoreProcessor { boolean matchesMacAddress = Objects.equals( associationInfo.getDeviceMacAddress(), restored.getDeviceMacAddress()); boolean matchesDeviceId = !Flags.associationTag() || (associationInfo.getDeviceId() != null boolean matchesDeviceId = Flags.associationTag() && (associationInfo.getDeviceId() != null && associationInfo.getDeviceId().isSameDevice(restored.getDeviceId())); return matchesMacAddress || matchesDeviceId; }; Loading Loading
services/companion/java/com/android/server/companion/BackupRestoreProcessor.java +3 −3 Original line number Diff line number Diff line Loading @@ -240,8 +240,8 @@ class BackupRestoreProcessor { boolean matchesMacAddress = Objects.equals( associationInfo.getDeviceMacAddress(), restored.getDeviceMacAddress()); boolean matchesDeviceId = !Flags.associationTag() || (associationInfo.getDeviceId() != null boolean matchesDeviceId = Flags.associationTag() && (associationInfo.getDeviceId() != null && associationInfo.getDeviceId().isSameDevice(restored.getDeviceId())); return matchesMacAddress || matchesDeviceId; }; Loading