am 16504076: Merge "Fix hashCode of TvContentRating" into lmp-dev

* commit '165040764f3ab10ad2ada2164527449648fa0f42':
  Fix hashCode of TvContentRating
This commit is contained in:
Sungsoo Lim
2014-08-13 11:17:21 +00:00
committed by Android Git Automerger

View File

@@ -1480,7 +1480,7 @@ public final class TvContentRating {
Arrays.sort(subRatings);
mSubRatings = subRatings;
}
mHashCode = Objects.hash(mDomain, mRating, mSubRatings);
mHashCode = 31 * Objects.hash(mDomain, mRating) + Arrays.hashCode(mSubRatings);
}
/**