Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee061926 authored by Beth Thibodeau's avatar Beth Thibodeau Committed by android-build-merger
Browse files

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

am: c49800f1

Change-Id: I5d76026d4f7f785929a9656a90e5d8ab18244ef7
parents 618963bd c49800f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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() {