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

Commit 4ff8a0b4 authored by Santosh Madhava's avatar Santosh Madhava
Browse files

Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'

Change-Id: Id2e4598f29191c506ab99a112bd7743f6a794cd6
parent 67005b05
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1896,9 +1896,11 @@ class MediaArtistNativeHelper {
    private void onPreviewProgressUpdate(int progress, boolean isFinished) {
        if (mPreviewProgressListener != null) {
            mPreviewProgressListener.onProgress(mVideoEditor, progress, isFinished);
            if (progress != 0) {
                mPreviewProgress = progress;
            }
        }
    }

    /**
     * Release the native helper object