diff options
Diffstat (limited to 'src/com/android/browser/PreloadedTabControl.java')
-rw-r--r-- | src/com/android/browser/PreloadedTabControl.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/browser/PreloadedTabControl.java b/src/com/android/browser/PreloadedTabControl.java index d2482a4..824c00b 100644 --- a/src/com/android/browser/PreloadedTabControl.java +++ b/src/com/android/browser/PreloadedTabControl.java @@ -82,8 +82,9 @@ public class PreloadedTabControl { if (!called) { if (LOGD_ENABLED) Log.d(LOGTAG, "Query not submitted; falling back"); loadUrl(fallbackUrl, fallbackHeaders); + // make sure that the failed, preloaded URL is cleared from the back stack + mTab.clearBackStackWhenItemAdded(fallbackUrl); } - mTab.getWebView().clearHistory(); }}); return true; } |