summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jeff Chang <chengjeff@google.com> 2022-06-13 17:24:52 +0800
committer Jeff Chang <chengjeff@google.com> 2022-06-15 13:56:24 +0800
commit7a9206a080e395dd606a44e5bce3313ecef0a9d9 (patch)
treea288d9957d32cf1385caeedf08936f2a10b1b032 /libs/androidfw/StringPool.cpp
parentc45894f75e10da3efc08b9ea61a613d4a4477e82 (diff)
Update context object if split bounds changed
The RRS(runtime resolution switching) feature which supports users to change resolution directly. Split-screen did not update the Context object during the runtime resolution switching. That results in the split layout can not get the proper resource in time. This CL updates the new Context object whose resources are adjusted to match the new given Configuration when the split bound is different from existing. That’make sure to get the updated resources objects when calculating the divider snap target for this case. Bug: 235044746 Test: atest MultiWindowTests Change-Id: I94d1a95c6b4aeb3bf1b75aed2e0b3008f036c968
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions