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

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

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

* commit 'c5efb2b9':
  Speed up GrantUri.hashCode().
parents 2cabf4a9 c5efb2b9
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -795,7 +795,11 @@ public final class ActivityManagerService extends ActivityManagerNative
        @Override
        @Override
        public int hashCode() {
        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
        @Override