diff options
| author | 2023-06-15 16:28:39 -0700 | |
|---|---|---|
| committer | 2023-06-15 16:28:39 -0700 | |
| commit | 87dbb46da80c124fd37e2a6bbb9b78f1242c9ed9 (patch) | |
| tree | 80c723cca17dbac805d8f32c1c025eca16a7b79f /libs/androidfw/FileStream.cpp | |
| parent | 0f07b01f6cd441acd9d61fb271de64904c2327f0 (diff) | |
Use the UNKNOWN_ADJ as the cached adj in cycle recomputation
This reverts the behavior introduced in a previous commit 853d509,
where if a cached app binds to a non-cached app, and this cached app
forms cycles with other cached apps, it might end up bumping
the oom adj score to the non-cached state. So now we'll be using
the UNKNOWN_ADJ. And as we're doing cached oom adj assignment
after that so we won't be running into the unassigned adj problem.
Bug: 286750917
Test: atest MockingOomAdjusterTests
Change-Id: I9284d3d6318dccac1460adae12f24f89bd85b88e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions