summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-09-05 09:38:19 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-09-05 11:35:42 +0000
commit72e5ed928b3b15b04ec7c032a625281991993e37 (patch)
treeaa0e40a731231e89dfeddf2abf6508df8ecb3cc1 /libs/androidfw/StringPool.cpp
parented35afbc26e661a517da0dcea726a8890cc52f4b (diff)
Only recompute new config if rotation is changed from settings
It was true because the settings were mixed with the other settings in PhoneWindowManager that may contain keyboard state change. Since the settings observer of rotation is extracted to only listen rotation related changes, it no longer needs to always compute new display configuration that is either a wasteful invocation or may disturb the display info by some intermediate states, such as launching app in different orientation. Bug: 298331183 Test: AppConfigurationTests#testFixedOrientationWhenRotating Change-Id: I80abecf55074f10999387ad1c2c7f14ff11c403c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions