pause button for autos
This commit is contained in:
parent
4b252250c0
commit
d9151351b0
|
@ -149,7 +149,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
|||
public static final String ACTION_PAUSE_PLAY_CURRENT_EPISODE = "action.de.danoeh.antennapod.core.service.pausePlayCurrentEpisode";
|
||||
|
||||
/**
|
||||
* Custom action used by Android Wear
|
||||
* Custom action used by Android Wear, Android Auto
|
||||
*/
|
||||
private static final String CUSTOM_ACTION_FAST_FORWARD = "action.de.danoeh.antennapod.core.service.fastForward";
|
||||
private static final String CUSTOM_ACTION_REWIND = "action.de.danoeh.antennapod.core.service.rewind";
|
||||
|
@ -1204,6 +1204,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
|||
sessionState.setState(state, getCurrentPosition(), getCurrentPlaybackSpeed());
|
||||
long capabilities = PlaybackStateCompat.ACTION_PLAY_PAUSE
|
||||
| PlaybackStateCompat.ACTION_REWIND
|
||||
| PlaybackStateCompat.ACTION_PAUSE
|
||||
| PlaybackStateCompat.ACTION_FAST_FORWARD
|
||||
| PlaybackStateCompat.ACTION_SKIP_TO_NEXT
|
||||
| PlaybackStateCompat.ACTION_SEEK_TO;
|
||||
|
|
Loading…
Reference in New Issue