commit | b240f32a8ce3b054f8a3c4fee9825f7bb194eec2 | [log] [tgz] |
---|---|---|
author | android-build-prod (mdb) <android-build-team-robot@google.com> | Tue Oct 20 20:02:13 2020 +0000 |
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | Tue Oct 20 20:02:13 2020 +0000 |
tree | 288404aa28ecb1b4ae6ff631f5994a1e41d54d33 | |
parent | df8a0739f7ab42ce59e2370867d26ed2793b6228 [diff] | |
parent | 2c487876a828824481c4856816a6b9e47894547c [diff] |
Snap for 6918432 from 2c487876a828824481c4856816a6b9e47894547c to android11-tests-release Change-Id: I31b6f0a7dfad7c1a32c2e83412f41c8882b9d840
diff --git a/cmds/installd/InstalldNativeService.cpp b/cmds/installd/InstalldNativeService.cpp index b9c1add..c1f67b2 100644 --- a/cmds/installd/InstalldNativeService.cpp +++ b/cmds/installd/InstalldNativeService.cpp
@@ -2194,6 +2194,9 @@ auto obbPath = StringPrintf("%s/Android/obb", create_data_media_path(uuid_, userId).c_str()); calculate_tree_size(obbPath, &obbSize); + if (!(flags & FLAG_USE_QUOTA)) { + totalSize -= obbSize; + } ATRACE_END(); }