From e59d3bf84a4e63f8b36a41c1a2a3b01581329880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Sat, 14 May 2011 00:54:42 +0200 Subject: [PATCH] Added support for res/mipmap* . --- .../src/main/java/brut/androlib/res/decoder/ResFileDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java b/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java index 57b2125f..c5d67d52 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java +++ b/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java @@ -60,7 +60,7 @@ public class ResFileDecoder { decode(inDir, inFileName, outDir, outFileName, "raw"); return; } - if (typeName.equals("drawable")) { + if (typeName.equals("drawable") || typeName.equals("mipmap")) { if (inFileName.toLowerCase().endsWith(".9.png")) { outFileName = outResName + ".9" + ext;