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
Loading
Please register or sign in to comment