Merge "Speed up GrantUri.hashCode()." into lmp-mr1-dev
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user