summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-03-08 06:48:02 +0000
committer Roy Chou <juchengchou@google.com> 2023-03-12 06:52:54 +0000
commitb32c85cc87241472d92d47b56d375fd3d0a4e91c (patch)
tree246824668d323d58f3d85d280c511b74da84b45d /libs/androidfw/ApkParsing.cpp
parent3b65691e8b1c57a810facde943a80b808a64577c (diff)
fix(#AlwaysOnMagnification): mis-activate fullscreen magnifier when display size changed
If the AlwaysOn feature is enabled, when onDisplaySizeChanged() is triggered (such as screen rotation), the magnifier would set scale to 1.0x even when not activated, and thus the magnifier becomes activated. Therefore, we add state check at the beginning to prevent the issue. Bug: 271438152 Test: manually atest FullScreenMagnificationControllerTest Change-Id: Ic489904812a3207a48d7fdb93421e300ccd1b81f
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions