diff options
| author | 2023-06-15 07:46:29 +0000 | |
|---|---|---|
| committer | 2023-06-15 07:46:29 +0000 | |
| commit | 83f8ab4afe6b50bd3753087619fb61a6348559b5 (patch) | |
| tree | 8bda848fa0cd3688455c0984223a9adcf33f2f21 /libs/androidfw/StringPool.cpp | |
| parent | d3283c513f4fe69ea5d72ed96efbfacf6e9b137e (diff) | |
Changed the cached threshold that decides when to defer bcasts.
Currently, we use RECEIVER procstate (indirectly through
onUidCachedChanged callback) as threshold for deciding when to
defer broadcasts. Change it to LAST_ACTIVITY procstate which is
closer to the "freezable" state we would like to use.
Bug: 275142200
Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java
Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java
Change-Id: I58c5c2cc44e391f64771d2331d7f86b27e6d60f7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions