summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Jing Ji <jji@google.com> 2024-01-11 00:07:01 -0800
committer Jing Ji <jji@google.com> 2024-01-24 16:12:08 -0800
commitf8041cb43bb976baecb3eb42a2691e3c893f1d7a (patch)
treee8b5f90678c2ee3ad9c483997452cf8ae2b41310 /libs/androidfw/FileStream.cpp
parenta90768d4ff47c027019b52b679beba5bbcf5de26 (diff)
Skip OomAdjuster update in bindService for self-bindings
...or calling from the cached state. Meanwhile, for bindings from a less important process to a more important process, no longer bump its oom adj scores to 0 during the Service#onCreate() and the Service#onBind(). Also freezing the caller immediately if it's trying to make self-bindings from the cached state. And, apply the same strategy to the content provider acquire/releases. Bug: 318717054 Bug: 318774428 Test: perfetto Test: atest FrameworksMockingServicesTests:ServiceBindingOomAdjPolicyTest Test: atest CtsAppTestCases Change-Id: I3bc9b8b030fdbd52f9b990f8e57697e0d50baac1
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions