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

Commit de3b69e0 authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android (Google) Code Review
Browse files

Merge "Fix the single crunch command to return the right error code." into jb-mr1-dev

parents 20d47ca8 c75d3f5c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1852,7 +1852,11 @@ int doSingleCrunch(Bundle* bundle)

    String8 input(bundle->getSingleCrunchInputFile());
    String8 output(bundle->getSingleCrunchOutputFile());
    return preProcessImageToCache(bundle, input, output);
    if (preProcessImageToCache(bundle, input, output) != NO_ERROR) {
        // we can't return the status_t as it gets truncate to the lower 8 bits.
        return 42;
    }
    return NO_ERROR;
}

char CONSOLE_DATA[2925] = {