mirror of
https://github.com/samsonjs/media.git
synced 2026-04-23 14:15:48 +00:00
Suppress warnings in ImaUtil
ImaUtil calls VideoProgressUpdate.equals() which is annotated as hidden,
which causes lint errors with gradle.
#minor-release
PiperOrigin-RevId: 504306210
(cherry picked from commit f86948f01c)
This commit is contained in:
parent
92686b3377
commit
26c8c552c0
1 changed files with 1 additions and 0 deletions
|
|
@ -270,6 +270,7 @@ import java.util.Set;
|
|||
}
|
||||
|
||||
/** Returns a human-readable representation of a video progress update. */
|
||||
@SuppressWarnings("RestrictedApi") // VideoProgressUpdate.equals() is annotated as hidden.
|
||||
public static String getStringForVideoProgressUpdate(VideoProgressUpdate videoProgressUpdate) {
|
||||
if (VideoProgressUpdate.VIDEO_TIME_NOT_READY.equals(videoProgressUpdate)) {
|
||||
return "not ready";
|
||||
|
|
|
|||
Loading…
Reference in a new issue