Merge "Only allow seeking when action is set" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c49800f15d
@@ -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