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

Commit 097ee43b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AAPT: Process XML in mipmap directory"

parents 3389df71 2d6fa033
Loading
Loading
Loading
Loading
+15 −0
Original line number Original line Diff line number Diff line
@@ -1513,6 +1513,21 @@ status_t buildResources(Bundle* bundle, const sp<AaptAssets>& assets, sp<ApkBuil
        err = NO_ERROR;
        err = NO_ERROR;
    }
    }


    if (mipmaps != NULL) {
        ResourceDirIterator it(mipmaps, String8("mipmap"));
        while ((err=it.next()) == NO_ERROR) {
            err = postProcessImage(bundle, assets, &table, it.getFile());
            if (err != NO_ERROR) {
                hasErrors = true;
            }
        }

        if (err < NO_ERROR) {
            hasErrors = true;
        }
        err = NO_ERROR;
    }

    if (colors != NULL) {
    if (colors != NULL) {
        ResourceDirIterator it(colors, String8("color"));
        ResourceDirIterator it(colors, String8("color"));
        while ((err=it.next()) == NO_ERROR) {
        while ((err=it.next()) == NO_ERROR) {