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

Commit 3545c72c authored by Derek Sollenberger's avatar Derek Sollenberger Committed by Android (Google) Code Review
Browse files

Merge "Don't update webkit at every stage of a zoom animation."

parents dfa28c34 ac382cf5
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -704,9 +704,10 @@ class ZoomManager {
     *         false otherwise.
     */
    public boolean isPreventingWebkitUpdates() {
        // currently only animating a multi-touch zoom prevents updates, but
        // others can add their own conditions to this method if necessary.
        return mPinchToZoomAnimating;
        // currently only animating a multi-touch zoom and fixed length
        // animations prevent updates, but others can add their own conditions
        // to this method if necessary.
        return isZoomAnimating();
    }

    public ScaleGestureDetector getMultiTouchGestureDetector() {