From 0ec3e9fae2fdaddfd4f13bc83059cf4c856d2cc9 Mon Sep 17 00:00:00 2001 From: John Reck Date: Wed, 16 May 2012 16:05:37 -0700 Subject: Monkey Bug: 6404028 Change-Id: I84935de2d159058c373551ebf22306381089ef05 --- src/com/android/browser/BrowserActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/com') diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index 4bb8107..b7217e9 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -166,7 +166,9 @@ public class BrowserActivity extends Activity { if (LOGV_ENABLED) { Log.v(LOGTAG, "BrowserActivity.onSaveInstanceState: this=" + this); } - mController.onSaveInstanceState(outState); + if (mController != null) { + mController.onSaveInstanceState(outState); + } } @Override -- cgit v1.1