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

Commit b345ddc3 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Don't send OnCompletion events when looping

AwesomePlayer never did, and neither should NuPlayer.

Bug: 18656047
Change-Id: Ia9abe42cfe6ea643633cec859e9da770092569bb
parent d805214c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -747,7 +747,8 @@ void NuPlayerDriver::notifyListener_l(
                        // the last little bit of audio. If we're looping, we need to restart it.
                        mAudioSink->start();
                    }
                    break;
                    // don't send completion event when looping
                    return;
                }

                mPlayer->pause();