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

Commit 98359848 authored by Wei Jia's avatar Wei Jia
Browse files

MediaPlayer2: fix out-of-order pause for skipToNext

Test: cts
Bug: 130292355
Change-Id: I46765403e6bb12feb44f6d2541dc867fef23722a
parent a1cab98a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -546,7 +546,7 @@ public class MediaPlayer2 implements AutoCloseable, AudioRouting {
            @Override
            void process() {
                if (getState() == PLAYER_STATE_PLAYING) {
                    pause();
                    native_pause();
                }
                playNextDataSource();
            }