summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2012-01-25 01:43:34 +0100
committerlado <herrlado@gmail.com>2012-01-25 01:43:34 +0100
commit87b70d47fd8408769b16830db0b3a3900162458d (patch)
tree1bc24210972f28674ce179222b5dc43b6b96ed49
parent2e3636c809da8ff62d227d903300a22518af975f (diff)
downloadvdr-manager-87b70d47fd8408769b16830db0b3a3900162458d.tar.gz
vdr-manager-87b70d47fd8408769b16830db0b3a3900162458d.tar.bz2
npe avoid
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/ICSBaseActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/ICSBaseActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/ICSBaseActivity.java
index 9f4f2b1..39047ff 100644
--- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/ICSBaseActivity.java
+++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/ICSBaseActivity.java
@@ -13,6 +13,9 @@ public abstract class ICSBaseActivity extends Activity{
}
ActionBar actionBar = getActionBar();
+ if(actionBar == null){
+ return;
+ }
//this is since 14 enabled
actionBar.setHomeButtonEnabled(true);
}