summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Michael Wachenschwanz <mwachens@google.com> 2025-01-22 10:17:11 -0800
committer Michael Wachenschwanz <mwachens@google.com> 2025-02-12 09:56:10 -0800
commit221b19e9c0ee2763b3594e09fb175df0fc7ae128 (patch)
treece3e0586e801ee1f9be91a7379bfc0860d1c700b /libs/androidfw/AssetsProvider.cpp
parent6c118a5bdf32c987a2264f0952a74536ff422d6e (diff)
Lower SMS background importance
The messaging app is currently bound with the BIND_NOT_VISIBLE flag by the system. This keeps it in the oom score 200 slot, which competes with higher priority processes like foreground services. Binding with BIND_ALMOST_PERCEPTIBLE will lower its background importance to 201, keeping it warm in memory for snappier UX but allows them to die in favor of process doing more important work. Flag: com.android.server.am.lower_sms_oom_importance Fixes: 372511805 Test: manual (`adb shell dumpsys activity lru`, background sms process should have `prcp+1` oom score.) Change-Id: Ia4fef6afa57ff822e5122e1716ea05462dd1ed48
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions