Merge "Update Webkit with the zoom level after double tap gesture" into ics-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
425c595acb
@@ -498,6 +498,11 @@ class ZoomManager {
|
|||||||
if (mZoomScale == 0) {
|
if (mZoomScale == 0) {
|
||||||
// We've reached the end of the zoom animation.
|
// We've reached the end of the zoom animation.
|
||||||
mInHWAcceleratedZoom = false;
|
mInHWAcceleratedZoom = false;
|
||||||
|
|
||||||
|
// Ensure that the zoom level is pushed to WebCore. This has not
|
||||||
|
// yet occurred because we prevent it from happening while
|
||||||
|
// mInHWAcceleratedZoom is true.
|
||||||
|
mWebView.sendViewSizeZoom(false);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
canvas.translate(tx, ty);
|
canvas.translate(tx, ty);
|
||||||
|
|||||||
Reference in New Issue
Block a user