From 87b70d47fd8408769b16830db0b3a3900162458d Mon Sep 17 00:00:00 2001 From: lado Date: Wed, 25 Jan 2012 01:43:34 +0100 Subject: npe avoid --- vdrmanager/src/de/bjusystems/vdrmanager/gui/ICSBaseActivity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vdrmanager/src/de') 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); } -- cgit v1.2.3