Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 242e548e authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Tweaking some CPU_TIME capability assignments to bindings

Capability cpu_time should be propagated across all bindings from the
client.

Removing some unnecessary assignments of the capability that could
happen even when the client did not have this capability. Although
this is practically not expected to happen, this enforces correctness of
state by making failures apparent.

Also making sure we don't skip OomAdjuster updates on provider or
service connections when the cpu_time capabililty needed to be updated
for the host process.

Flag: com.android.server.am.use_cpu_time_capability

Test: atest FrameworksMockingServicesTests:ServiceBindingOomAdjPolicyTest
Test: atest FrameworksMockingServicesTests:MockingOomAdjusterTests

Bug: 370817323
Change-Id: I6915e4aed5aa02d2e2c6addad1f03a1db899b0ca
parent e01df808
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment