summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2020-06-10 17:37:32 +0800
committerwilsonshih <wilsonshih@google.com>2020-06-12 10:42:16 +0800
commitd601ad1120eae96ec0e6c74427bf6ce3f209b5ba (patch)
tree75e66233bfb655b2042913f1862b2436c21dc4be /tools/aapt2/java/JavaClassGenerator.cpp
parent79f93b02f29bdd78bf662b09a04ce49e624e105a (diff)
Fix task root bounds be overwritten when dismiss split screen.
WindowManagerProxy#applyDismissSplit is getting the root task of secondary split screen instead of freeHomeAndRecents tasks then set the bounds to empty, and becuase the transaction is queued with applySyncTransaction, so even the correct root task bounds should applied when DividerView#exitSplitMode, the bounds could be overwritten if the SyncTransactionQueue apply to WM later. Next time when we start an activity with a new task on the secondary split screen, the activity will be relaunch because the initialization bounds is full screen. Fixes: 158637716 Test: atest ActivityLifecycleSplitScreenTests, repeat several times. Test: run testResumedWhenRecreatedFromInNonFocusedStack then verify the bounds of split-screen-secondary doesn't become empty. Change-Id: Ie344b573f42a47d703ad15f7c1983b6c18905665
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions