Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 32d7a2fb authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent f4356a7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment