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

Commit 1c081648 authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

Only allow seeking when action is set

Fixes: 132058610
Test: manual
Change-Id: I7b48ae610b69aedb42eeb2054fb4d597d6d1a684
parent 56c006f5
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() {