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
Loading
Please register or sign in to comment