summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2020-08-18 21:08:22 +0800
committerWei Sheng Shih <wilsonshih@google.com>2020-08-21 05:10:11 +0000
commit283da3bf5ffb0fe39f69171215a7cd950238bca6 (patch)
tree5550373417205ff8c350a60fa30b170d4dbe000a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent710634d502bc2eca08ffffb839909389373973a8 (diff)
Fixes activity didn't receive windowing mode change while exitPip
When user dismiss pip, WindowOrganizerController#applyChanges would first try to resize pinned task, this will cause the activity to do ensureActivityConfiguration and which could trigger configuration change or relaunch the client activity. However, the windowing mode was not change yet, so the windowing mode change would be scheduled in another configuration change to client. But since the windowing mode is not public, client will treat there is difference so skip that configuration. To ensure client receive windowing mode change, check it before check configuration difference. And in order to prevent the WindowState#reportResized send before ActivityRelaunchItem send to client, skip resize if we already know that activity is going to relaunch. Bug: 165051679 Test: atest ActivityLifecyclePipTests ActivityLifecycleSplitScreenTests ActivityLifecycleTopResumedStateTests PinnedStackTests SplitScreenTests ActivityLifecycleKeyguardTests Change-Id: I7b96bbcf1a71ff75751e14db44c03261862bc857
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions