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

Commit fc162cf3 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am 8bbdd1ce: am c5efb2b9: am d6447bbc: Merge "Speed up GrantUri.hashCode()." into lmp-mr1-dev

* commit '8bbdd1ce':
  Speed up GrantUri.hashCode().
parents 668e3b44 8bbdd1ce
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -795,7 +795,11 @@ public final class ActivityManagerService extends ActivityManagerNative
        @Override
        public int hashCode() {
            return toString().hashCode();
            int hashCode = 1;
            hashCode = 31 * hashCode + sourceUserId;
            hashCode = 31 * hashCode + uri.hashCode();
            hashCode = 31 * hashCode + (prefix ? 1231 : 1237);
            return hashCode;
        }
        @Override