summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-05-15 07:57:35 +0000
committer Roy Chou <juchengchou@google.com> 2023-05-17 09:09:00 +0000
commit5d5d8b372439d0ca2ccd6fa55f3e44c81d70c458 (patch)
tree11c0abdd4266f5ba24c6c8455350ad368663e15b /libs/androidfw/FileStream.cpp
parentbd8568ac11950c9f9a844cb9ef9df43dc57efc76 (diff)
fix(#MagSettingsPanel): fix panel position not correct after unfold/rotation
In WindowMagnificationSettings#onConfigurationChanged, for case CONFIG_SCREEN_SIZE/CONFIG_ORIENTATION, we change to directly reset the panel position to the default bottom-right corner. Originally it would try to keep the same Y ratio in bounds, but the new calculated might be not proper in some case. Therefore, we just reset the panel position to the default. Bug: 279544895 Bug: 279565372 Test: manually atest WindowMagnificationSettingsTest Change-Id: If57f685b3ce8309c74541dd33a0f9b5902d95ae5
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions