From: Jeff Sharkey Date: Wed, 7 Jun 2017 21:59:03 +0000 (-0600) Subject: Don't double-count external cached app data. X-Git-Tag: android-x86-8.1-r1~35^2^2~2^2~23^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4ca8ff98e40023c32e0f05473e1fe906b6537417;p=android-x86%2Fframeworks-native.git Don't double-count external cached app data. Cached app data is already counted in extStats.dataSize, so we don't need to count it twice. Test: builds, boots, verified Settings UI before/after Bug: 62343684 Change-Id: Ic02cbe3f5938949730f9bc8d911ed398436f84d7 --- 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