diff options
| author | 2023-11-08 18:10:32 +0800 | |
|---|---|---|
| committer | 2023-11-08 18:10:32 +0800 | |
| commit | 32d7a2fb439609a61b991beb9c364b5f6dafb623 (patch) | |
| tree | d0c8e1a7447b0240019326ade287e5c5ec16ed36 /libs/androidfw/FileStream.cpp | |
| parent | f4356a7a1a642a8cb4c30cc79e95ade9a0f2d96e (diff) | |
Use top state for ResumeActivityItem
Usually getReportedProcState is the same as TopProcessState,
so there should be no behavior change.
Because WPC#setPendingUiCleanAndForceProcessStateUpTo and
updateProcessInfo are posted to another thread to execute, there
could be a race that getReportedProcState still keeps old value if
the update operation hasn't be scheduled yet.
Bug: 308927629
Test: CtsWindowManagerDeviceWindow
Change-Id: I841963dd135086f599f17e19a3cc1726c656931c
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions