Ensure cookies retrieved before setDataSource.
When invoking MediaPlayer's setDataSource() API, cookies may not retrieved. In some case the media will playback failed if the required cookies absent. This CL will check whether the cookies are retrieved before call this API. API call will be pending until cookies retrieved. Bug: 1157376 Change-Id: I43f04461af86c83e53a169bb4df35cbe20419b6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584203 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by:Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#836018}
Showing
Please register or sign in to comment