From debbb3b5be704fae98e7dd045c59bb1a40eac0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Sun, 13 Jun 2010 19:24:55 +0200 Subject: [PATCH] ApkDecoder: fixed NPE when setFrameTag() is called before setApkFile(). Bug was introduced in 1.3.0 . --- src/brut/androlib/ApkDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/brut/androlib/ApkDecoder.java b/src/brut/androlib/ApkDecoder.java index ca46d178..3438e4f0 100644 --- a/src/brut/androlib/ApkDecoder.java +++ b/src/brut/androlib/ApkDecoder.java @@ -123,7 +123,7 @@ public class ApkDecoder { public void setFrameworkTag(String tag) throws AndrolibException { mFrameTag = tag; - if (hasResources()) { + if (mResTable != null) { getResTable().setFrameTag(tag); } }