summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-21 12:46:39 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-21 12:46:39 -0700
commit5fa4328b987ca9455880ab7cc8066f0c2fe217d3 (patch)
treef9897dc48d7e85f015e3df6463f258b928777f20 /src/com/android/browser
parent3b3bf30ac65921a8627fb25c4ea05316b8e1ba98 (diff)
parent6982a71885f94b8b08b0cc425d3d06c7ba50b953 (diff)
downloadpackages_apps_Browser-5fa4328b987ca9455880ab7cc8066f0c2fe217d3.zip
packages_apps_Browser-5fa4328b987ca9455880ab7cc8066f0c2fe217d3.tar.gz
packages_apps_Browser-5fa4328b987ca9455880ab7cc8066f0c2fe217d3.tar.bz2
Merge change 8035
* changes: Prevent stale data exception.
Diffstat (limited to 'src/com/android/browser')
-rw-r--r--src/com/android/browser/BrowserHistoryPage.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserHistoryPage.java b/src/com/android/browser/BrowserHistoryPage.java
index e333416..d5e7049 100644
--- a/src/com/android/browser/BrowserHistoryPage.java
+++ b/src/com/android/browser/BrowserHistoryPage.java
@@ -303,6 +303,9 @@ public class BrowserHistoryPage extends ExpandableListActivity {
}
void refreshData() {
+ if (mCursor.isClosed()) {
+ return;
+ }
mCursor.requery();
buildMap();
for (DataSetObserver o : mObservers) {