mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

This changes the default logic of shouldShowPlayButton to show a play button while the playback is temporarily suppressed. This helps to provide better UI feedback to the fact that playback stopped and provides a quick way for users to override the suppression and attempt to restart playback. Some apps may want to keep the legacy behavior depending on their app's needs. Hence, we also add a config parameter to set this behavior both in MediaSession and our default UI components. Issue: google/ExoPlayer#11213 PiperOrigin-RevId: 557129171
Session test common module
Provides common components for use by session tests.