mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
Reset playback info but not position/state in release
ImaAdsLoader gets the player position after the app releases the player to support resuming ads at their current position if the same ads loader is reused. PiperOrigin-RevId: 243969916
This commit is contained in:
parent
dcb8417a3c
commit
6b0fd51378
1 changed files with 2 additions and 2 deletions
|
|
@ -403,8 +403,8 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|||
eventHandler.removeCallbacksAndMessages(null);
|
||||
playbackInfo =
|
||||
getResetPlaybackInfo(
|
||||
/* resetPosition= */ true,
|
||||
/* resetState= */ true,
|
||||
/* resetPosition= */ false,
|
||||
/* resetState= */ false,
|
||||
/* playbackState= */ Player.STATE_IDLE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue