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

Skip to content
Commit 2a3daaa3 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

OomAdjuster: Give SDK sandbox the priority of the app it belongs to.

SDK sandbox processes are bound to by system_server, but system_server
binds on behalf of a regular application process. An earlier changed
stored this "attributed" process in the AppBindRecord; here, retrieve
it, and use that to compute the priority of the sandbox instead.

Additionally, keep track of started SDK sandboxes per UID, so that we
can retrieve them when computing the downstream dependencies of
applications in collectReachableProcessesLocked().

Bug: 253399592
Test: atest SdkSandboxLifecycleHostTest
Test: evaluate OOM adj scores
Change-Id: Ib0696c55e7c0c16c3ba2d19d861098bd2e3ebd21
parent 854a3d2d
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