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

Commit 492e501f authored by Greg Hackmann's avatar Greg Hackmann Committed by Android (Google) Code Review
Browse files

Merge "aapt2: fix definition of G in Util.h"

parents ad80b437 1fce4f9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -90,7 +90,7 @@ inline ::std::function<::std::ostream&(::std::ostream&)> formatSize(size_t size)
    return [size](::std::ostream& out) -> ::std::ostream& {
    return [size](::std::ostream& out) -> ::std::ostream& {
        constexpr size_t K = 1024;
        constexpr size_t K = 1024;
        constexpr size_t M = K * K;
        constexpr size_t M = K * K;
        constexpr size_t G = M * M;
        constexpr size_t G = M * K;
        if (size < K) {
        if (size < K) {
            out << size << "B";
            out << size << "B";
        } else if (size < M) {
        } else if (size < M) {