commit | 32d7a2fb439609a61b991beb9c364b5f6dafb623 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Wed Nov 08 18:10:32 2023 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Nov 08 18:10:32 2023 +0800 |
tree | d0c8e1a7447b0240019326ade287e5c5ec16ed36 | |
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