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

Commit 598c981f authored by Jaewan Kim's avatar Jaewan Kim
Browse files

MediaSession2: Add reset() to the MediaPlayerBase

This would be used in response to
  - MediaController2#play()
  - KEYCODE_MEDIA_STOP

Bug: 64098437
Test: passed MediaComponentTest
Change-Id: I5c0d93bb3f7bff7939bdf90e3a3ec54aaf4e6cea
parent 0706cb6c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -62,6 +62,11 @@ public class MockPlayer extends MediaPlayerBase {
        // no-op
    }

    @Override
    public void reset() {
        // no-op
    }

    @Override
    public void play() {
        mPlayCalled = true;