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:
@@ -245,6 +245,7 @@ public final class ScreenMagnifier implements EventStreamTransformation {
|
|||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
mMagnificationController.setScaleAndMagnifiedRegionCenter(1.0f,
|
mMagnificationController.setScaleAndMagnifiedRegionCenter(1.0f,
|
||||||
0, 0, true);
|
0, 0, true);
|
||||||
|
mViewport.setFrameShown(false, true);
|
||||||
mDisplayProvider.destroy();
|
mDisplayProvider.destroy();
|
||||||
mDisplayContentObserver.destroy();
|
mDisplayContentObserver.destroy();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user