Skip to content
Commit b7eb3cfd authored by Louis Chang's avatar Louis Chang
Browse files

Not resuming stack top activity while restarting if it is launched-behind

Adding launched-behind condition check when determining whether to resume
the stack top activity, instead of avoid resuming the launched-behind
activity while restarting it. This should be done earlier because AWT and
AR will be unified into one object, which updates AWT#mLaunchTaskBehind to
false while committing visibility (via ActivityStack#makeVisibleAndRestartIfNeeded()
-> AR#setVisible()), and breaks RecentsAnimationTest#testRestartRecentsActivity().

Bug: 80414790
Test: atest RecentsAnimationTest
Change-Id: Ica95d4202c6b8e6d315432558529b0a8b7549efb
parent 3afc6731
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment