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

am: ee0619264e

Change-Id: I212963fd457ff0d6bd02067edc9e72ea651bf319
This commit is contained in:
Beth Thibodeau
2019-05-07 07:51:59 -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() {