Skip to content
Commit 996df0db authored by Andrii Kulian's avatar Andrii Kulian
Browse files

Don't make active activities that are launched behind

Activities that are being launched behind are not intended to be
presented to the user, so they should not be made active (resumed
or paused) based just on their visibility and position.

One example is home/recents activity during transition from an
app to home after home button press with QuickStep enabled - the
home stack is made visible for the duration of the transition,
but it's still behind a fullscreen app stack and should not be
resumed immediately.

Bug: 123166999
Bug: 117135575
Test: ActivityManagerActivityVisibilityTests#testGoingHomeMultipleTimes
Test: ActivityManagerActivityVisibilityTests#testPressingHomeButtonMultipleTimes
Test: ActivityManagerActivityVisibilityTests#testPressingHomeButtonMultipleTimesQuick
Test: Manually switch between home and app with QuickStep enabled
Change-Id: I1106cf3da923e60d02b84d5fe4a552865113afc8
parent 6b321517
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