OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't double-count external cached app data.
[android-x86/frameworks-native.git]
/
cmds
/
installd
/
InstalldNativeService.cpp
diff --git
a/cmds/installd/InstalldNativeService.cpp
b/cmds/installd/InstalldNativeService.cpp
index
3041467
..
60c89a9
100644
(file)
--- 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");