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

Skip to content
Commit 7c602c35 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera: Fix handling of dead processes for arbitration

A dead (or dying) process will have state NONEXISTENT, OOM score
INVALID when queried from ProcessInfoService.  Ensure that this maps
to a very low total score for prioritization.

Also add unit testing for this, and improve the unit tests and service
code to use named constants instead of magic numbers for state/score.

Test: New unit tests pass; CTS not regressed on coral
Bug: 181777896
Change-Id: I19f1a7e0b75f35e64ff790ef7098b3d40b7e55be
parent c5ee316a
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