summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Divyanand Rangu <quic_drangu@quicinc.com> 2024-10-03 12:10:27 +0530
committer Kalesh Singh <kaleshsingh@google.com> 2024-10-10 19:35:47 +0000
commit7031a84e6a3a18d2cea8550f318d24e79c68f2d6 (patch)
tree3b0982850c41762772586d92eec4981ba03115f6 /libs/androidfw/AssetsProvider.cpp
parentda86eed6e5bebd6f355d67cd1498cdeae1c1149b (diff)
Avoid subtracting shmem twice when calculating LOST RAM.
NR_SHMEM is included in both shmem and cached memory of /proc/meminfo. To avoid double subtraction (since included in kernelUsed and getCachedSizeKb) add shmem to LOST RAM. Bug: 371518137 Change-Id: I7bdac17c2c952fbb045c0eed9f38a44df2831204
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions