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

Commit 94b5ade0 authored by Izabela Orlowska's avatar Izabela Orlowska Committed by Android (Google) Code Review
Browse files

Merge "AAPT2: always compile 9patch files"

parents 200cd63f 3c3f9b5d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -772,8 +772,8 @@ int Compile(const std::vector<StringPiece>& args, IDiagnostics* diagnostics) {
      if (*type != ResourceType::kRaw) {
        if (path_data.extension == "xml") {
          compile_func = &CompileXml;
        } else if (!options.no_png_crunch &&
                   (path_data.extension == "png" || path_data.extension == "9.png")) {
        } else if ((!options.no_png_crunch && path_data.extension == "png") ||
                   path_data.extension == "9.png") {
          compile_func = &CompilePng;
        }
      }