Merge "Only allow seeking when action is set" into qt-dev

am: c49800f15d

Change-Id: I5d76026d4f7f785929a9656a90e5d8ab18244ef7
This commit is contained in:
Beth Thibodeau
2019-05-07 07:39:28 -07:00
committed by android-build-merger

View File

@@ -206,7 +206,7 @@ public class NotificationMediaTemplateViewWrapper extends NotificationTemplateVi
long actions = mMediaController.getPlaybackState().getActions();
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() {