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

Commit 5f38b18e authored by Jaewan Kim's avatar Jaewan Kim Committed by android-build-merger
Browse files

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

am: cfce1602

Change-Id: I56695008a27dc3d6b21184add7117921c2efacbb
parents b0945f94 cfce1602
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