diff options
| author | 2025-03-13 12:21:27 +0800 | |
|---|---|---|
| committer | 2025-03-13 15:10:36 +0800 | |
| commit | 0ed78b237430f85c150b54f658904133d0c43428 (patch) | |
| tree | 1d030c5ece2c6a80926e0da40baa63c00e49cf94 /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | fe243d087df459c25bef5f8c2c1e1a6229fdcef2 (diff) | |
Do not count closing activity as visible process
Previously, VisibleActivityProcessTracker#hasVisibleActivity can
still return true when the only activity of a process is in a
playing transition animation (since shell transition only commits
invisible until transition is done). That may lead to a timing
that background launch check still allows the process with
visible window to launch activity. For example, after pressing home
key, the closing app may still be able to launch activity at a
specific timing after APP_SWITCH_DISALLOW updates to
APP_SWITCH_FG_ONLY but the transition is not finished yet.
Bug: 396653764
Flag: com.android.window.flags.use_visible_requested_for_process_tracker
Test: WindowProcessControllerTests#testComputeProcessActivityState
Change-Id: I064ce5cbb140c68d3e1a482980df52ee5d37f361
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions