diff options
| author | Beth Thibodeau <ethibodeau@google.com> | 2022-04-07 22:48:31 -0400 |
|---|---|---|
| committer | Beth Thibodeau <ethibodeau@google.com> | 2022-04-08 12:16:29 -0400 |
| commit | 872a9d7591236441fdce57094fa631c66da5c351 (patch) | |
| tree | bd8d433c752f819f43a998987701c04e025afaa7 /core/java/android/util/SparseSetArray.java | |
| parent | e0aee9342ba33b0f01f80ad2e230bf8ba598426e (diff) | |
Add play/pause button when state has ACTION_PLAY_PAUSE
Previously the check only worked if the state included either
ACTION_PLAY or ACTION_PAUSE, but apps can declare ACTION_PLAY_PAUSE to
indicate that they support both commands. So, also check for that when trying
to create a play/pause button.
Fixes: 228521620
Test: manual; atest MediaDataManagerTest
Change-Id: Ia5715e17df9cf55ac19ab533736474c12fc092f6
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions
