ApkDecoder.writeMetaFile(): don't write framework info if not decoding resources.

This commit is contained in:
Ryszard Wiśniewski 2011-11-10 00:11:47 +01:00
parent 31e6dc51f1
commit 5d05136ab7

View File

@ -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);