diff options
| author | 2023-06-16 14:07:18 -0700 | |
|---|---|---|
| committer | 2023-06-20 12:55:59 -0700 | |
| commit | 3f7fcd05686838011060a3f74fc3b5a8301b0194 (patch) | |
| tree | 568e86ee8b522dd0ecdd81c26246fe3d3c958bc4 /libs/androidfw/FileStream.cpp | |
| parent | d5b8a608169c84589d4330a97937a82fc80590e9 (diff) | |
Consider process proc_state when computing runnableAt.
It is possible for a process to be in a particular
proc_state even if the uid that the process belongs to
is not in that state. We could modify the uid observer
to consider all proc_states below TOP as foreground
but compared to it, this change is less risky.
Bug: 287015744
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java
Change-Id: I0df7052244bdbee0342a2af5ab5da3c11cd8c86b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions