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

Commit a249a93e authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

Prevent intermediate scale updates from being sent to WebKit while zooming.

The addition of the HW accelerated logic causes us to manipulate the
zoom scale factor in the zoom manager two additional times. These
manipulations occur after the mZoomScale has been set to zero is how we
previously tested to see if a fixed length animation was occuring.

bug: 3451126
Change-Id: If2992adbe36fa471bb1bb5013495e1adc74b5fab
parent 1d50ad79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -504,7 +504,7 @@ class ZoomManager {
    }

    public boolean isFixedLengthAnimationInProgress() {
        return mZoomScale != 0;
        return mZoomScale != 0 || mInHWAcceleratedZoom;
    }

    public void refreshZoomScale(boolean reflowText) {