mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35:52 +01:00
ApkDecoder: fixed NPE when setFrameTag() is called before setApkFile().
Bug was introduced in 1.3.0 .
This commit is contained in:
parent
2a20dd1b94
commit
debbb3b5be
@ -123,7 +123,7 @@ public class ApkDecoder {
|
|||||||
|
|
||||||
public void setFrameworkTag(String tag) throws AndrolibException {
|
public void setFrameworkTag(String tag) throws AndrolibException {
|
||||||
mFrameTag = tag;
|
mFrameTag = tag;
|
||||||
if (hasResources()) {
|
if (mResTable != null) {
|
||||||
getResTable().setFrameTag(tag);
|
getResTable().setFrameTag(tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user