Skip to content
Commit 7258ae54 authored by Jing Ji's avatar Jing Ji
Browse files

Add extra delays to service restarts in case of low memory pressure

When the system is on low memory pressure, service restarts could make
the performance worse. Now addinng extra delays in this case; while
when the memory pressure drops, the delays will be decreased too.

BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy API name

Bug: 170309420
Test: atest FrameworksServicesTests:ServiceRestarterTest
Test: atest FrameworksMockingServicesTests:ActiveServicesTest
Change-Id: Ic55276775950316bde199ab017916e8efbee7a73
parent b5fa3eaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment