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

Commit 0d99f5a9 authored by Dharmaray Kundargi's avatar Dharmaray Kundargi
Browse files

Fix issue 3426200 Movie Studio crashes when a media item is deleted

Change-Id: I1149fbfd22b44b388897bbcc6970da74c1f6ac4f
parent 2e96f15d
Loading
Loading
Loading
Loading
+20 −19
Original line number Diff line number Diff line
@@ -2984,7 +2984,7 @@ class MediaArtistNativeHelper {
                        }
                    }
                }
            }

                if (!mErrorFlagSet) {
                    mPreviewEditSettings.videoFrameSize = findVideoResolution(mVideoEditor
                            .getAspectRatio(), maxHeight);
@@ -3006,6 +3006,7 @@ class MediaArtistNativeHelper {
                    mInvalidatePreviewArray = false;
                    mProcessingState  = PROCESSING_NONE;
                }
            }
            if (mErrorFlagSet) {
                mErrorFlagSet = false;
                throw new RuntimeException("preview generation cannot be completed");