"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "f31e8d4982653b39fe312f9938be0f49dd9ab5fa"
Remove mCached and mEmpty from PSR and calculate on query
The mCached and mEmpty are effectively descriptions of oomAdj and ProcState. Calculating cached and empty states from oomAdj and procState guarantees there will be no desync from those respective states. Also cache adjType for Activity-based policies, so it does not get wiped out by subsequent computes in an update. Fixes: 302754011 Test: atest MockingOomAdjusterTests Test: atest ServiceBindingOomAdjPolicyTest Change-Id: Icc1f5a772a0739d28718f4e1255f1c33204b77a9
Loading
Please register or sign in to comment