commit | d6c19e024ac9b35309a003a946eda00a656350dd | [log] [tgz] |
---|---|---|
author | Hongyu Long <hongyulong@chromium.org> | Wed Jul 03 00:07:02 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 03 00:07:02 2024 |
tree | 423a057b7eba91ed8df0a55f81c78662645cde45 | |
parent | bba30b1fa58bfc950dd2f39fe95be96db00a7764 [diff] |
focus-mode: Implement media control for selected playlist This CL will add the following changes. After creating the media widget for the selected playlist, once it gained the audio focus, we can get its media session request id. Then, we bind the media controller observer with the request id, so that we can observe the state changes for the specific media session. When the playlist starts playing, the equalizer animation will start playing. When the user press pause button through the media controls on the shelf, when entering the focus panel again, the playlist will shown in the pause state. When the ending moment comes, the playlist will be selected state. Bug: b/340867537 Test: manual Change-Id: I45477392f96b1cf6efee09a7e08261a15cdc73fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5664405 Reviewed-by: Richard Chui <richui@chromium.org> Reviewed-by: Sean Kau <skau@chromium.org> Commit-Queue: Hongyu Long <hongyulong@chromium.org> Cr-Commit-Position: refs/heads/main@{#1322484}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.