summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@google.com>2017-06-08 15:27:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-06-08 15:27:08 +0000
commitb5a1f50f5e4d4c626c9703c8736a0cc0fe9e934e (patch)
tree452404585c443646a650f951e0dbe99213fc9f50
parentd6d91e58336678726a03b2e9619b0bae0b23ff04 (diff)
parent4ca8ff98e40023c32e0f05473e1fe906b6537417 (diff)
downloadnative-b5a1f50f5e4d4c626c9703c8736a0cc0fe9e934e.tar.gz
Merge "Don't double-count external cached app data." into oc-dev
-rw-r--r--cmds/installd/InstalldNativeService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/InstalldNativeService.cpp b/cmds/installd/InstalldNativeService.cpp
index 3041467f70..60c89a97b7 100644
--- a/cmds/installd/InstalldNativeService.cpp
+++ b/cmds/installd/InstalldNativeService.cpp
@@ -1698,7 +1698,7 @@ binder::Status InstalldNativeService::getExternalSize(const std::unique_ptr<std:
collectQuotaStats(device, userId, appId, nullptr, &extStats);
}
}
- appSize = extStats.dataSize + extStats.cacheSize;
+ appSize = extStats.dataSize;
ATRACE_END();
} else {
ATRACE_BEGIN("manual");