mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Fix hashCode method for TrackSelection
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119842923
This commit is contained in:
parent
d9dcc58dca
commit
7ad34c5c5c
@ -87,9 +87,7 @@ public final class TrackSelection {
|
||||
@Override
|
||||
public int hashCode() {
|
||||
if (hashCode == 0) {
|
||||
int result = 17;
|
||||
result = 31 * result + group;
|
||||
result = 31 * result + Arrays.hashCode(tracks);
|
||||
hashCode = 31 * group + Arrays.hashCode(tracks);
|
||||
}
|
||||
return hashCode;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user