mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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);
|
eventHandler.removeCallbacksAndMessages(null);
|
||||||
playbackInfo =
|
playbackInfo =
|
||||||
getResetPlaybackInfo(
|
getResetPlaybackInfo(
|
||||||
/* resetPosition= */ true,
|
/* resetPosition= */ false,
|
||||||
/* resetState= */ true,
|
/* resetState= */ false,
|
||||||
/* playbackState= */ Player.STATE_IDLE);
|
/* playbackState= */ Player.STATE_IDLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue