diff options
| author | 2024-05-15 18:39:08 +0800 | |
|---|---|---|
| committer | 2024-05-15 19:07:11 +0800 | |
| commit | 7721382d9ccba09f9da1c8de65b496c0fcc0a40f (patch) | |
| tree | 9d5def4c2e88ae471c1fe6affffb8714d23eec7c /libs/androidfw/StringPool.cpp | |
| parent | b972663f6daf3cb60874e1169c3e080e735bc8b6 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions