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

Skip to content
Commit 3f7fcd05 authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

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
parent d5b8a608
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment