Merge "Fix call to equals that could never succeed." into nyc-dev

This commit is contained in:
TreeHugger Robot
2016-06-01 17:46:01 +00:00
committed by Android (Google) Code Review

View File

@@ -701,8 +701,8 @@ public class RestrictedLockUtils {
if (userId != other.userId) {
return false;
}
if ((component == null && other == null) ||
(component != null && component.equals(other))) {
if ((component == null && other.component == null) ||
(component != null && component.equals(other.component))) {
return true;
}
return false;