Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7721382d authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent b972663f
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