Add test for seeking composition playback
PiperOrigin-RevId: 630184355
This commit is contained in:
parent
cb4b2ea55c
commit
d59f1cb6e3
@ -118,6 +118,14 @@ public final class PlayerTestListener implements Player.Listener, AnalyticsListe
|
|||||||
this.decoderCounters = decoderCounters;
|
this.decoderCounters = decoderCounters;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void resetStatus() {
|
||||||
|
playerIdle.close();
|
||||||
|
playerReady.close();
|
||||||
|
playerEnded.close();
|
||||||
|
firstFrameRendered.close();
|
||||||
|
playbackException.set(null);
|
||||||
|
}
|
||||||
|
|
||||||
// Internal methods
|
// Internal methods
|
||||||
|
|
||||||
private void waitOrThrow(ConditionVariable conditionVariable)
|
private void waitOrThrow(ConditionVariable conditionVariable)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user