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

Commit 3c3f9b5d authored by Izabela Orlowska's avatar Izabela Orlowska
Browse files

AAPT2: always compile 9patch files

Test: existing tests
Bug: 70578281
Change-Id: I7ffcbdd664108348182e71d01b1680e2399ec37c
parent 79131f7a
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;
        }
      }