diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/browser/BrowserActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index 4461cf0..50f4189 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -638,7 +638,7 @@ public class BrowserActivity extends Activity final ContentResolver cr = mResolver; final String newUrl = url; - if (!mTabControl.getCurrentWebView().isPrivateBrowsingEnabled()) { + if (mTabControl == null || !mTabControl.getCurrentWebView().isPrivateBrowsingEnabled()) { new AsyncTask<Void, Void, Void>() { @Override protected Void doInBackground(Void... unused) { |