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

Skip to content
Commit 74144965 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Clean up / update MockingOomAdjusterTests

- Some of the tests didn't update "clients" set-procstate, so now
  we explicitly run updateOomAdjLocked for such clients too.

- Not all tests have been updated -- some of them didn't pass if I
  updated them, so I left such tests mostly as-is.

- Fixed testUpdateOomAdj_DoOne_TreatLikeVisFGS, which was using
  the wrong oom-adj for BIND_TREAT_LIKE_VISIBLE_FOREGROUND_SERVICE
  (should be "VISIBLE" but was "PERCEPTIBLE")

Bug: 257270313
Test: atest MockingOomAdjusterTests
Change-Id: I3be379eb6c2e7a15a03922a1a3861e12563547e3
parent b69c2020
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