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

Commit d6447bbc authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Speed up GrantUri.hashCode()." into lmp-mr1-dev

parents 04eb368d 3597b55d
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