commit | e9cb04e9ebd2656f40bf51502d3ef87366494b84 | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Tue Nov 29 16:13:35 2011 -0800 |
committer | The Android Automerger <android-build@android.com> | Tue Nov 29 17:08:14 2011 -0800 |
tree | 400e4f738f9cce54774701026e8b47ab3a81bf72 | |
parent | 70286b74f6d43ee4a195be9a3d27b4945bd3ca49 [diff] |
Fix yet another Monkey NPE Bug: 5685380 Change-Id: Ida841160df6e76318ebb8e2b3804a40184b96161
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 8dc05f8..8238d77 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java
@@ -1876,7 +1876,8 @@ } boolean isInLoad() { - return getCurrentTab().inPageLoad(); + final Tab tab = getCurrentTab(); + return (tab != null) && tab.inPageLoad(); } // bookmark handling