diff --git a/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java b/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java index 8d74e5cb..3186a798 100644 --- a/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java +++ b/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java @@ -187,7 +187,7 @@ public class ApkDecoder { meta.put("version", Androlib.getVersion()); meta.put("apkFileName", mApkFile.getName()); - if (hasResources()) { + if (mDecodeResources != DECODE_RESOURCES_NONE && hasResources()) { meta.put("isFrameworkApk", Boolean.valueOf(mAndrolib.isFrameworkApk(getResTable()))); putUsesFramework(meta);