diff options
| author | 2025-01-17 11:32:40 +0800 | |
|---|---|---|
| committer | 2025-01-17 11:50:53 +0800 | |
| commit | 3e45f122590db702b53d645502e6c2d1a852855e (patch) | |
| tree | a23857a8e47121b91e6c0575f8b222a1efd3c258 /api/coverage/tools | |
| parent | 32521fd27e509c62e1195e73f4d917ef26aa1dae (diff) | |
Allow starting activity from visible home if app switch stopped
After returning to home, stopAppSwitches will be called to set
APP_SWITCH_DISALLOW for 500ms. Then it falls to the condition
mCallingUidHasNonAppVisibleWindow because home has a visible
Taskbar window. But it will be logged as wtf event for
BAL_ALLOW_NON_APP_VISIBLE_WINDOW, which is noisy.
This aligns the same condition as
checkBackgroundActivityStartAllowedByRealCallerInForeground.
Bug: 291794451
Flag: EXEMPT bugfix
Test: Swipe to home and launch an app within in a short time.
There should not have a wtf log for home.
Change-Id: I6ba31b324dc9a3dfe7f205946b9bdb8d7bd5d41b
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions