summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2023-08-29 15:10:00 -0700
committer William Xiao <wxyz@google.com> 2023-08-29 16:12:22 -0700
commit6c3731e62e197557fbd34c14424bbb92056c0b99 (patch)
treeb9b52cddb9023a66ba9f94e11ea4b5cf6f594d94 /libs/androidfw/ApkParsing.cpp
parent503df1766bb633b24465a2595a2bf58a4563c8b3 (diff)
Always send configuration change if only desk uiMode changed
Devices with config_skipActivityRelaunchWhenDocking do not relaunch activities when docking for a better user experience, but should still send onConfigurationChanged to activities. While some paths in the logic of ActivityThread always send onConfigurationChanged no matter what, not all do. This CL patches the logic deciding whether or not to send onConfigurationChanged to act as if the activity specified that it would handle uiMode changes so that onConfigurationChanged will always be sent as expected. Bug: 274944389 Bug: 295876429 Bug: 294255156 Test: atest CtsWindowManagerDeviceOther:DockConfigChangeTests --iterations Also manually verified on device that configuration changes are always sent to a test activity on dock/undock Change-Id: Ib4dfcf9ce92538b554935de52850c7514875245c
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions