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

Commit c5bba6cc authored by James Dong's avatar James Dong
Browse files

Fix an issue wherre error notification will not be sent after mediaplayer reset

bug - 3198642

Change-Id: Ieab13e12af9fdd0ad0873c522885e1350e7cd24c
parent 7200ab4a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -437,6 +437,9 @@ status_t MediaPlayer::reset()
        } else {
            mCurrentState = MEDIA_PLAYER_IDLE;
        }
        // setDataSource has to be called again to create a
        // new mediaplayer.
        mPlayer = 0;
        return ret;
    }
    clear_l();