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

Commit 9c87f279 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "MediaSession2: Implement fastForward() / rewind()" into pi-dev

parents 7a5178fb 3c47591b
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -617,31 +617,23 @@ public class MediaSession2Impl implements MediaSession2Provider {
    @Override
    public void fastForward_impl() {
        ensureCallingThread();
        // TODO: Uncomment or remove
        /*
        final MediaPlayerBase player = mPlayer;
        if (player != null) {
            // TODO implement
            //player.fastForward();
            player.fastForward();
        } else if (DEBUG) {
            Log.d(TAG, "API calls after the close()", new IllegalStateException());
        }
        */
    }

    @Override
    public void rewind_impl() {
        ensureCallingThread();
        // TODO: Uncomment or remove
        /*
        final MediaPlayerBase player = mPlayer;
        if (player != null) {
            // TODO implement
            //player.rewind();
            player.rewind();
        } else if (DEBUG) {
            Log.d(TAG, "API calls after the close()", new IllegalStateException());
        }
        */
    }

    @Override