summaryrefslogtreecommitdiff
path: root/libs/hwui/ResourceCache.cpp
diff options
context:
space:
mode:
authorNandana Dutt <nandana@google.com>2018-07-05 10:06:18 +0100
committerNandana Dutt <nandana@google.com>2018-07-09 12:32:34 +0000
commit786d5453bfd73f9ee740f6ead12b0514f7e6023c (patch)
treebaba8175183e7df9fd8cb0b7b0d87d11131dcd6a /libs/hwui/ResourceCache.cpp
parentce77407144346c6fad679a4297910eea07d0d601 (diff)
Fix the lost RAM calculation
The formula used when reporting memory usage when device goes low on memory should exclude SwapPss, which was incorrectly being included as part of totalPss. BUG: 109762356 Test: Manually tested on a gobo device by making it go low on memory. Verified that the Lost RAM in adb logcat was negative before, and is positive with the change, and close to Lost RAM from "dumpsys meminfo". Change-Id: Ic54181b55fa03d3faebda4c0516c95c18ee39e41
Diffstat (limited to 'libs/hwui/ResourceCache.cpp')
0 files changed, 0 insertions, 0 deletions