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

am: 748620e9f0

* commit '748620e9f03dd66bfed38d91d32b35d79684173b':
  Fix call to equals that could never succeed.

Change-Id: I82af33ea3b93c4017c845b1f791ebee403bffe21
This commit is contained in:
Ian Rogers
2016-06-01 17:54:22 +00:00
committed by android-build-merger

View File

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