- 
Thomas Guilbert authoredThis CL uses RemoteMediaPlayer.getApproximateStreamPosition to implement FlingingRenderer::GetMediaTime(). NOTE: GMS core ignores stream position changes in the MediaStatus, when we have a pending seek. Calling both Seek() and Play() back to back in FlingingRenderer::StartPlayingFrom() sometimes causes the stream position update to be lost. This causes getApproximateStreamPosition to report a time that is out of sync with the cast device. We already use the autoplay flag when loading the RemoteMediaPlayer, so removing the call to MediaController::Play() doest not cause any problems. Bug: 830871 Change-Id: Ia5a6384cf11a77a6aa49e9669f015f7835c5a775 Reviewed-on: https://chromium-review.googlesource.com/1180511Reviewed-by: Zhiqiang Zhang <zqzhang@chromium.org> Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#585655} 8a6d66b9