Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61c1261d authored by Chuwei Xu's avatar Chuwei Xu Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Fix testVerifyStatsExternalConsistent case am: ffc805e1

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1196065

Change-Id: Id7d9ae6d0c776a3d69472ec00945210f7bbefd50
parents 39fdc4f1 ffc805e1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2195,6 +2195,9 @@ binder::Status InstalldNativeService::getExternalSize(const std::optional<std::s
        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();
    }