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

Commit 0c75622c authored by Romain Guy's avatar Romain Guy
Browse files

Fix crash in movie studio.

Change-Id: I06acb0b39cc3839cf7abb58b32dec9b9bec424d6
parent f2499fa4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ public class SurfaceView extends View {
                @Override
                public boolean onPreDraw() {
                    // reposition ourselves where the surface is 
                    mHaveFrame = true;
                    mHaveFrame = getWidth() > 0 && getHeight() > 0;
                    updateWindow(false, false);
                    return true;
                }