am add52a97: Viewport should zoom out when screen magnification is disabled.

* commit 'add52a975aa78d9e24d3e63a8168c00a9bfb80ec':
  Viewport should zoom out when screen magnification is disabled.
This commit is contained in:
Svetoslav Ganov
2012-09-09 11:17:49 -07:00
committed by Android Git Automerger

View File

@@ -245,6 +245,7 @@ public final class ScreenMagnifier implements EventStreamTransformation {
public void onDestroy() {
mMagnificationController.setScaleAndMagnifiedRegionCenter(1.0f,
0, 0, true);
mViewport.setFrameShown(false, true);
mDisplayProvider.destroy();
mDisplayContentObserver.destroy();
}