diff options
author | Louis Chang <louischang@google.com> | 2021-01-17 09:40:28 +0800 |
---|---|---|
committer | Louis Chang <louischang@google.com> | 2021-01-19 17:01:29 +0800 |
commit | 2470c90a1b0dd7f025dbc4c34db5a9dcc297972a (patch) | |
tree | 556c236d5f941226d105d2ffa2eb18fed438e3cc /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 0d765236869c4d16e3de78ec6867ecec825e5377 (diff) |
Stop passing UserLeaving around
Activity#onUserLeaveHint() did not call on the split-secondary top
activity while starts home activity via gesture-nav in splits, so
the app did not enter pip.
Home task was moved to top and #resumeTop was called after the
recents animation finished. It was no-op since home activity was
already be resumed, but the TaskSupervisor#mUserLeaving was consumed
and was reset. The previous top activity was paused (made invisible)
later during activity visibilites update, without userLeaving hint
though.
This CL reset the TaskSupervisor#mUserLeaving when the requested
operation completed and stop passing the state over methods.
Bug: 176989982
Test: atest ActivityLifecycleLegacySplitScreenTests
Change-Id: Iaa6a7525d632a536f8a3faa6814a2a1b838e6830
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions