summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Michael Wachenschwanz <mwachens@google.com> 2025-01-08 18:45:52 -0800
committer Michael Wachenschwanz <mwachens@google.com> 2025-02-25 16:52:25 -0800
commit111b03de3b95c522e702beb6d44b722547bc2c65 (patch)
treecc536abb62c815f37b069f6897daf51992f19d04 /api/api_test.go
parent41f071c4c08f4c2b0b9b1c00a60d42dbc3d985e8 (diff)
Lower IME background importance
The keyboard app is currently bound with the BIND_NOT_VISIBLE flag by system. This keeps it in the oom score 200 slot, which competes with higher priority processes like foreground services. Binding with BIND_ALMOT_PERCEPTIBLE will lower its background importance to 201, keeping it warm in memory for snappier UX but allows it to die in favor of process doing more important work. Flag: android.view.inputmethod.lower_ime_oom_importance Fixes: 372511805 Test: manual (`adb shell dumpsys activity lru`, background ime process should have `prcp+1` oom score.) Change-Id: Ie94ec1bcac212da3fad06186a73502bf01b68def Change-Id: I41398340eea4d4694f69ccd9abc9e344eee444ef
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions