summaryrefslogtreecommitdiff
path: root/tests/SystemUIDemoModeController
diff options
context:
space:
mode:
author Jing Ji <jji@google.com> 2024-02-26 23:00:36 -0800
committer Jing Ji <jji@google.com> 2024-02-27 14:40:33 -0800
commitd8cdf4267a432cd8c4601883f3404a057895bbf6 (patch)
tree0cb717ed43e54cc0372ebf43dd6ef556fe3a974e /tests/SystemUIDemoModeController
parentec6ff848c3ac88fb7e4223f99c488fe0dea3412c (diff)
Fix the service binding skipOomAdj logic
We're skipping oom adj updates if it's a self-binding or a binding from a less important process. The callsites of these skipped oom adj updates are mainly around the bumpServiceExecutingLocked() and the serviceDoneExecutingLocked(). The previous CL tried to skip the oom adj updates in the latter one if it was skipped in the former one - however there are some missing paths in the accounting which caused the necessary oom adj update is skipped unexpectedly. Now fix this issue. Bug: 325586149 Bug: 325658306 Test: atest CtsAppBindingHostTestCases:AppBindingHostTest Test: atest CtsAppTestCases:ActivityManagerTest Test: atest \ FrameworksMockingServicesTests: ServiceBindingOomAdjPolicyTest Change-Id: I47e49653eb4a5dc4f9ff59ae15d56ba615d9e7fc
Diffstat (limited to 'tests/SystemUIDemoModeController')
0 files changed, 0 insertions, 0 deletions