diff options
author | Louis Chang <louischang@google.com> | 2019-09-30 21:41:52 +0800 |
---|---|---|
committer | Louis Chang <louischang@google.com> | 2019-10-01 12:32:07 +0800 |
commit | b7eb3cfd001ef2394ded7c79aaecee18d57d0552 (patch) | |
tree | 534dad8658905e63773ae9e672a693542d6e8a7f /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java | |
parent | 3afc6731b2f52a4bf096290e3f85a2438168fb1c (diff) |
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
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java')
0 files changed, 0 insertions, 0 deletions