Skip to content
Commit ba40d3a1 authored by Winson Chung's avatar Winson Chung
Browse files

Fix issues starting recents animation when starting a new activity

- When avoiding moving the stack to the front, skip resuming as well (since
  the recents activity is starting in the back, and this prevents having
  to add more checks to skip moving the task to the front).

  The avoid-move-to-front option is only used for the recents animation,
  and only used when starting a new activity, so the effects of this change
  should only be limited to that logic.
- Also execute the app transition explicitly since it isn't triggered when
  we aren't resuming the newly started activity, which was causing the
  app-transition timeout to occur before launcher was next made visible
  and good to go).

Bug: 77154670
Test: Open app, install launcher in the background to kill the activity,
      then swipe up and ensure that it actually works instead of running
      the normal task-dismiss transition

Change-Id: I8c39d95e7a6ca65a099aba7285e852b2480804ca
parent 5a36c134
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