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

Unverified Commit db7ce1ac authored by Likai Ding's avatar Likai Ding Committed by Michael Bestas
Browse files

Gallery: fix error when license expires

License expired pop-up will appear for multiple times. Check error
status when start the video.

Change-Id: I7ce509aec6859c8117aebc01c7a3c828221aafa3
CRs-Fixed: 980372
parent e640344f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -462,7 +462,7 @@ public class CodeauroraVideoView extends SurfaceView implements MediaPlayerContr

    private void openVideo() {
        clearVideoInfo();
        if (mUri == null || mSurfaceHolder == null) {
        if (mUri == null || mSurfaceHolder == null || mTargetState == STATE_ERROR) {
            // not ready for playback just yet, will try again later
            return;
        }