correction: don't clear resource table if it was already loaded

This commit is contained in:
IgorEisberg 2021-07-04 00:16:22 +03:00
parent 88d3d0038c
commit 1ed1076a84

View File

@ -93,9 +93,6 @@ public class ApkDecoder {
LOGGER.info("Using Apktool " + Androlib.getVersion() + " on " + mApkFile.getName()); LOGGER.info("Using Apktool " + Androlib.getVersion() + " on " + mApkFile.getName());
// recreate the resource table in case it was already created
mResTable = null;
if (hasResources()) { if (hasResources()) {
switch (mDecodeResources) { switch (mDecodeResources) {
case DECODE_RESOURCES_NONE: case DECODE_RESOURCES_NONE: