Set lastRss in CacheOomRanker.
This mirrors the change for a comment in cherrypicked CL ag/15771575. Test: atest CacheOomRankerTest Bug: 196031723 Change-Id: Id2658a356907a0ae1b8606d41e2b2adf3bc6b622
This commit is contained in:
@@ -364,6 +364,7 @@ public class CacheOomRanker {
|
||||
// First element is total RSS:
|
||||
// frameworks/base/core/jni/android_util_Process.cpp:1192
|
||||
scoredProcessRecord.proc.mState.setCacheOomRankerRss(rss[0], nowMs);
|
||||
scoredProcessRecord.proc.mProfile.setLastRss(rss[0]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user