diff options
-rw-r--r-- | media/java/android/media/tv/TvContentRating.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/java/android/media/tv/TvContentRating.java b/media/java/android/media/tv/TvContentRating.java index 25252ed..3e5ecef 100644 --- a/media/java/android/media/tv/TvContentRating.java +++ b/media/java/android/media/tv/TvContentRating.java @@ -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); } /** |