From 1392b8397e3c8ea093cb04afb9c6ab164c13189f Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Wed, 7 Sep 2011 13:02:59 -0700 Subject: Do not feed the monkey Bug: 5261282 Change-Id: I8c982436e9fb45e6d79afe0a6294389d626b6276 --- src/com/android/browser/NavigationBarTablet.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com/android/browser/NavigationBarTablet.java') diff --git a/src/com/android/browser/NavigationBarTablet.java b/src/com/android/browser/NavigationBarTablet.java index 661ed714d..c22b1a0c5 100644 --- a/src/com/android/browser/NavigationBarTablet.java +++ b/src/com/android/browser/NavigationBarTablet.java @@ -249,6 +249,7 @@ public class NavigationBarTablet extends NavigationBarBase { } private void stopOrRefresh() { + if (mUiController == null) return; if (mTitleBar.isInLoad()) { mUiController.stopLoading(); } else { -- cgit v1.2.3