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

Skip to content
Commit c578a50c authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

cameraservice: re-map oom_adj scores and states of native vendor clients.



Override the oom_adj scores of vendor clients from to PERCEPTIBLE_APP_ADJ.
Override the process state of vendor clients to to PROCESS_STATE_PERSISTENT_UI.

This is in order for app processes to take priority over vendor clients.
For example, this could help in the case of the default camera app and
face auth contending for resources from the lock screen.

Bug: 132117718

Test: manual test on lockscreen, try to double press and open camera app
      while a vendor client is connected to a contending camera device.

Change-Id: Ie5fabb59c876cb02eb706f3dda8f748c69e3c063
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 4714c214
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