summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Charles Chen <charlesccchen@google.com> 2022-06-15 17:26:47 +0800
committer Charles Chen <charlesccchen@google.com> 2022-06-23 15:23:43 +0800
commit8bf77af1a70e54a58fa22132e338cd827d8c6771 (patch)
treee98cb6a4279bb4a60964da2f3e3116cb03cb54f9 /libs/androidfw/Util.cpp
parent909495e9d65a2635a262af2ecb03e5940e8d58ed (diff)
Fix exception in expandSplitContainerIfNeeded
The exception is because the client side hasn't received TaskFragmentInfo yet, so we don't have WindowContainerToken to change the bounds of TaskFragments. This CL verifies if we have TaskFragmentInfo before calling expandTaskFragment. If there's no TaskFragmentInfo, fallback to create new SplitContainer that fills the task bounds. Test: atest WMJetpackUnitTests Test: manual: reproduce steps mentioned in bug Bug: 232871351 Merged-In: Id8d122f7d95d1c6a3574b02ddd2b6afbc548f853 Change-Id: I83ee6ea32df485bf78db3b50dec8c92d80be8912
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions