ApkDecoder: fixed NPE when setFrameTag() is called before setApkFile().

Bug was introduced in 1.3.0 .
This commit is contained in:
Ryszard Wiśniewski 2010-06-13 19:24:55 +02:00
parent 2a20dd1b94
commit debbb3b5be

View File

@ -123,7 +123,7 @@ public class ApkDecoder {
public void setFrameworkTag(String tag) throws AndrolibException {
mFrameTag = tag;
if (hasResources()) {
if (mResTable != null) {
getResTable().setFrameTag(tag);
}
}