Fix timing issue for delayed media session action
The current implementation of delayed action might bring timing issues: 1. Transiend hold finish 2. The session is resumed 3. Since there is a delayed pause action, the session is suspended imediately after the resume call, which might bring timing issue Also, even if the timing issue did not trigger, the media session will play for a short time before the delayed pause action being executed, which is also not the ideal behavior. Bug: b/138330472 Test: Manual Test Change-Id: I22434b61c83577bcf2ce9769c8ffb5dc17084d68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2304950Reviewed-by:Becca Hughes <beccahughes@chromium.org> Commit-Queue: Yue Li <updowndota@chromium.org> Cr-Commit-Position: refs/heads/master@{#790073}
Showing
Please register or sign in to comment