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

Commit edf2f574 authored by Ian Rogers's avatar Ian Rogers
Browse files

Fix call to equals that could never succeed.

Caught by Error Prone.
Bug: 27723540

Change-Id: I5901a3ca06e0cc85620f596cfa4178f5ad61d1a7
parent 6ee1b50a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;