summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2022-06-09 10:30:04 +0800
committer Louis Chang <louischang@google.com> 2022-06-15 14:27:27 +0800
commitb51ecdf1fcc27d07f8514ef5644d1a758fe56f6c (patch)
tree1a666e74ad962c85f82191aaeaf8c1dc7a238f1d /libs/androidfw/StringPool.cpp
parente0d6f903b9be6d5ba38008d7113b274711210b68 (diff)
Update the activity current config only if it is reported
The current configuration in the client activity could be updated via the other flow (from ViewRootImpl). So, it is possible that the client activity configuration is different from the last reported configuration that cached in the system. If the configuration changed again in that case, the ActivityConfigurationChangeItem could end up without reporting Activity#onConfigurationChanged if the differences between the new configuration and the current client activity configuration contains the configuration changes that the activity cannot handle. Update the activity current config only when reported, so the configuration differences can be correctly evaluated from the new configuration and the configuration last reported. Bug: 231312158 Test: repro steps on the bug Test: atest ActivityThreadClientTest Change-Id: Ifa27d222bb0905053cf12e08c423bf7bfad904cd
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions