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

Commit 36b7cc5e authored by Gil Dobjanschi's avatar Gil Dobjanschi
Browse files

Transition bug fix

Change-Id: I0999aca3b341e4d6a4303ef84da8f5e541310bf0
parent a8dc004a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1155,12 +1155,14 @@ public class VideoEditorTestImpl implements VideoEditor {
    private void removeAdjacentTransitions(MediaItem mediaItem) {
        final Transition beginTransition = mediaItem.getBeginTransition();
        if (beginTransition != null) {
            beginTransition.getAfterMediaItem().setEndTransition(null);
            beginTransition.invalidate();
            mTransitions.remove(beginTransition);
        }

        final Transition endTransition = mediaItem.getEndTransition();
        if (endTransition != null) {
            endTransition.getBeforeMediaItem().setBeginTransition(null);
            endTransition.invalidate();
            mTransitions.remove(endTransition);
        }