diff --git a/CHANGES b/CHANGES index 9869547d..23ab3054 100644 --- a/CHANGES +++ b/CHANGES @@ -59,6 +59,7 @@ v2.0.0 (TBA) -Fixed (issue #744) - Fixed warnings of "Cleaning up unclosed ZipFile..." -Fixed (issue #757) - Download gradle binaries over https -Fixed (issue #402) - Fix issues when running user has no access to $HOME. +-Fixed issue with attempting to decode .spi files as 9 patches (Thanks Furniel) -Fixed issue with APKs with multiple dex files. -Fixed issue with using Apktool without smali/baksmali for ApktoolProperties (Thanks teprrr) -Fixed issue with non-URI standard characters in apk name (Thanks rover12421) diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java index c93a71f8..aa75b49b 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java @@ -71,8 +71,8 @@ public class ResFileDecoder { outFileName = outResName + ".r.9" + ext; } - // check for samsung qmg - if (inFileName.toLowerCase().endsWith(".qmg")) { + // check for samsung qmg & spi + if (inFileName.toLowerCase().endsWith(".qmg") || inFileName.toLowerCase().endsWith(".spi")) { copyRaw(inDir, outDir, outFileName); return; }