commit | cf5cb8e2cbe67edea7d75a74b5687f9ee1e7e5d1 | [log] [tgz] |
---|---|---|
author | mincheli <mincheli@google.com> | Thu Aug 13 16:43:58 2020 +0800 |
committer | mincheli <mincheli@google.com> | Tue Aug 25 16:36:25 2020 +0800 |
tree | a78fe37719283c44ad95a6c32c1f20d02bf77dd6 | |
parent | 2343e72b2d1912a5e1ab30020987e89ae3b49bae [diff] |
Window magnifier state is incorrect after screen is off The root cause is that the enabled state is not updated when screen is off. So correct to use disableWindowMagnifier(displayId, false) to disable window magnifier. And it can update the enabled state, mEnabled, when it is called. Bug: 163784304 Test: atest WindowMagnificationManagerTest,atest WindowMagnificationGestureHandlerTest Change-Id: I62a5aeaf45a3df62ef995906f25129125b4e85d5