mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Suppress reference equality warning in EventLogger.
We deliberately compare the track group returned by the track selection with the track group in the parameter to check if the track selection is referring to this particular track group. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175660909
This commit is contained in:
parent
8d81698d2a
commit
77b48691aa
1 changed files with 3 additions and 0 deletions
|
|
@ -467,6 +467,9 @@ import java.util.Locale;
|
|||
}
|
||||
}
|
||||
|
||||
// Suppressing reference equality warning because the track group stored in the track selection
|
||||
// must point to the exact track group object to be considered part of it.
|
||||
@SuppressWarnings("ReferenceEquality")
|
||||
private static String getTrackStatusString(TrackSelection selection, TrackGroup group,
|
||||
int trackIndex) {
|
||||
return getTrackStatusString(selection != null && selection.getTrackGroup() == group
|
||||
|
|
|
|||
Loading…
Reference in a new issue