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
Loading
Please register or sign in to comment