summaryrefslogtreecommitdiff
path: root/libs/ui/DebugUtils.cpp
diff options
context:
space:
mode:
author Shikha Malhotra <shikhamalhotra@google.com> 2021-11-25 10:52:50 +0000
committer Shikha Malhotra <shikhamalhotra@google.com> 2021-12-06 13:15:10 +0000
commit40fbb638197f089ea4ba6a51eca1ec3124156d34 (patch)
tree372aa1991fe51ed32c938cbbe87310d4b562a0ac /libs/ui/DebugUtils.cpp
parente9323b30ab14bad2a06a5cc67c326462cd11856b (diff)
Manually calculate stats for app owning external storage
The stats are calculated using quota APIs for all the apps. This is going wrong for the app owning external storage, as it includes the external storage files also. The reason for that is the uid for the external storage files and the app owning the external storage is the same. Calculating the size manually avoids the problem. Bug: 195804288 Test: atest StorageHostTest Test: atest installd_service_test.cpp Change-Id: I183c6997375b94dc02562bede03e3a15036efb6e Ignore-AOSP-First: already submitted in AOSP Merged-In: I183c6997375b94dc02562bede03e3a15036efb6e
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions