Add missing check of avoidMoveToFront when starting activity
Otherwise if the task is still moved to top unexpectedly, the surface visibility may not be consistent with its hierarchy order. Note that when using 3rd party launcher as default home, it is possible that home is the transient hide task. Then it should still allow home to move to front. E.g. pressing home button when recents animation is running. Bug: 337995601 Test: A singleTask activity invokes startActivity or startActivityIfNeeded to start itself during swiping up to home. The end result should show home instead of black screen. Test: atest Launcher3Tests: \ TaplOpenCloseAllAppsTest#testAllAppsSwipeUpToWorkspace Change-Id: I2a665ab3de7c8591a0cc0b528a9b892bd71e32a0
Loading
Please register or sign in to comment