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

Commit 125134ba authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Batch Service related PSC updates

The ProcessStateController BatchSession will prevent any OomAdjuster
update from being triggered until the BatchSession is over. Throughout
the Service management code are nested methods that may trigger
OomAdjuster updates and result in many unnecessary back to back
updates. Wrapping high level flows with a BatchSession will collapse
all attempted update triggers into one large update that handles all
processes being updated.

Flag: com.android.server.am.psc_batch_service_updates
Bug: 437171290
Test: atest android.app.cts.service.ServiceTest
Change-Id: I4e2357b808e86806f555b34cc237324e84a718bd
parent 02af4d4b
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