Fix worng value of 'TOTAL of Rss Total' when dumpsys meminfo
Use memInfo.getTotalRss instead of memInfo.getTotalPss to get the value of 'TOTAL of Rss Total'. bug 182328162 Signed-off-by: weihua.li <weihua.li@unisoc.com> Change-Id: I5487abe4870e10f4ee79c86c0ad0e75a3843deb1
This commit is contained in:
@@ -2770,7 +2770,7 @@ public final class ActivityThread extends ClientTransactionHandler {
|
||||
memInfo.getTotalPrivateDirty(),
|
||||
memInfo.getTotalPrivateClean(),
|
||||
memInfo.hasSwappedOutPss ? memInfo.getTotalSwappedOutPss() :
|
||||
memInfo.getTotalSwappedOut(), memInfo.getTotalPss(),
|
||||
memInfo.getTotalSwappedOut(), memInfo.getTotalRss(),
|
||||
nativeMax+dalvikMax,
|
||||
nativeAllocated+dalvikAllocated, nativeFree+dalvikFree);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user