diff options
| author | 2023-09-11 13:06:32 -0700 | |
|---|---|---|
| committer | 2023-09-18 16:27:17 -0700 | |
| commit | ae2af3861f9208c2464e3d4a294385a541ee10fd (patch) | |
| tree | 978885077dcac34489f30b6300f6266ebb00f266 /api/api.go | |
| parent | db94075748036f91c5a829b203d6f41b3819e022 (diff) | |
Create frozen flag for OomAdjuster rewrite
The `oomadjuster_correctness_rewrite` is overridable by setting system
property `persist.sys.activity_manager_native_boot.enable_new_oom_adj`
and a reboot (for local testing only!).
(ex.
to force new algorithm:
`setprop persist.sys.activity_manager_native_boot.enable_new_oom_adj true`
to force old algorithm:
`setprop persist.sys.activity_manager_native_boot.enable_new_oom_adj false`
to revert to build default:
`setprop persist.sys.activity_manager_native_boot.enable_new_oom_adj \"\"`
)
Test: n/a
Bug: 298055811
Change-Id: Ib5d985bd1ed229889a6b6bbe4f5b5191ff7b7d57
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions