diff options
| author | 2023-06-05 17:50:21 +0800 | |
|---|---|---|
| committer | 2023-06-05 18:03:00 +0800 | |
| commit | 6008eca456b1a92f3621ff4d8a36c6ec1ca4142c (patch) | |
| tree | b6fc9a39c2ee7cfeec92260a321c93e22da1d5ed /libs/androidfw/ZipFileRO.cpp | |
| parent | 25aa2d3c877f7880222695bd4048a8edf0f360fd (diff) | |
Only apply transient visibility for root task
For example, assume all task are opaque (from top to bottom):
TaskR(root)
-TaskA(top split)
-TaskX
-TaskY
-TaskB(bottom split)
-TaskZ
Only TaskX and TaskZ should be visible. TaskY is invisible
because it is occluded by TaskX.
(The problem was that TaskY becomes visible)
In the other words, when entering recents, TaskR is occluded
by recents so only need to force TaskR to be visible. While
the descendant tasks of TaskR should still follow the original
visibility calculation that computes whether they are occluded
inside the parent task.
Fix: 279128366
Test: atest RootTaskTests#testGetVisibility_MultiLevel
Change-Id: Ied02650f08918471257d1cefda9fae365654fd4c
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions