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
Loading
Please register or sign in to comment