summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-07-11 16:04:19 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-07-11 16:09:16 +0800
commit71ecd9c29a6e39cc39b6f08fdfa184d6f681881c (patch)
tree66a4e81d0e3c32143e029cf14212b3408854b5c9 /libs/androidfw/FileStream.cpp
parent9a70da4eb49167e012b13b3343486bdd5e39211c (diff)
Start activity from top z-order when attaching process
The order of start process request may not be the same as hierarchy z-order. E.g. when moving a task with 2 translucent activities which belong to the same dead process, the top activity will request first. And then ensure-visibility may be called from completePaused of previous activity, then the bottom activity will also request to start. And if realStartActivityLocked is called for the bottom activity, the ensureVisibilityAndConfig in realStartActivityLocked will make top activity create with deferResume=true, which causes to miss top resumed (no wm_on_top_resumed_gained_called). Also make WindowContainer#compareTo safer, which allows to compare container without parent. The result is still valid by tracing the parent and index. Bug: 352423986 Flag: EXEMPT bugfix Test: RootWindowContainerTests#testAttachApplication Change-Id: Iabccb9fd0cd2260d803756dc4cd0b7613b11a7fb
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions