Merge "Only allow seeking when action is set" into qt-dev
am: c49800f15d
Change-Id: I5d76026d4f7f785929a9656a90e5d8ab18244ef7
This commit is contained in:
@@ -206,7 +206,7 @@ public class NotificationMediaTemplateViewWrapper extends NotificationTemplateVi
|
|||||||
|
|
||||||
long actions = mMediaController.getPlaybackState().getActions();
|
long actions = mMediaController.getPlaybackState().getActions();
|
||||||
Log.d(TAG, "Playback state actions are " + actions);
|
Log.d(TAG, "Playback state actions are " + actions);
|
||||||
return (actions == 0 || (actions & PlaybackState.ACTION_SEEK_TO) != 0);
|
return ((actions & PlaybackState.ACTION_SEEK_TO) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected final Runnable mUpdatePlaybackUi = new Runnable() {
|
protected final Runnable mUpdatePlaybackUi = new Runnable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user