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

Commit c49800f1 authored by Beth Thibodeau's avatar Beth Thibodeau Committed by Android (Google) Code Review
Browse files

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

parents a7f63a1c 1c081648
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() {