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

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

DO NOT MERGE Fix testVerifyStatsExternalConsistent case am: ffc805e1 am:...

DO NOT MERGE Fix testVerifyStatsExternalConsistent case am: ffc805e1 am: 61c1261d am: 8ab5cb31

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

Change-Id: I7d2873e7a89829daf5538163e05997607cefeba6
parents 660bccab 8ab5cb31
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();
    }