diff options
author | mincheli <mincheli@google.com> | 2020-08-13 16:43:58 +0800 |
---|---|---|
committer | mincheli <mincheli@google.com> | 2020-08-25 16:36:25 +0800 |
commit | cf5cb8e2cbe67edea7d75a74b5687f9ee1e7e5d1 (patch) | |
tree | a78fe37719283c44ad95a6c32c1f20d02bf77dd6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions