diff options
-rw-r--r-- | src/com/android/browser/UrlHandler.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/UrlHandler.java b/src/com/android/browser/UrlHandler.java index 17d4062..74a58f3 100644 --- a/src/com/android/browser/UrlHandler.java +++ b/src/com/android/browser/UrlHandler.java @@ -257,6 +257,8 @@ public class UrlHandler { } protected void onPostExecute(String result) { + // abort if we left browser already + if (mController.isActivityPaused()) return; // Make sure the Tab was not closed while handling the task if (mController.getTabControl().getTabPosition(mTab) != -1) { // If the Activity Manager is not invoked, load the URL directly |