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

Commit e7a796b8 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

am: ee061926

Change-Id: I212963fd457ff0d6bd02067edc9e72ea651bf319
parents 17f7a48a ee061926
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() {