summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-06-21 11:38:01 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-06-21 11:38:01 -0700
commit23918ce9f437d65888f63383ca77e4130204329c (patch)
treea7ae46a94a60af33160babe5d22b50c0c20375ba
parent4e8ff4775bf8735c1d207c9c77bdd7e6fdf825be (diff)
parent09b1691232df718c0aef14ade16e59c8bf39786a (diff)
downloadpackages_apps_Browser-23918ce9f437d65888f63383ca77e4130204329c.zip
packages_apps_Browser-23918ce9f437d65888f63383ca77e4130204329c.tar.gz
packages_apps_Browser-23918ce9f437d65888f63383ca77e4130204329c.tar.bz2
am 09b16912: DO NOT MERGE Prevent webview re-use
* commit '09b1691232df718c0aef14ade16e59c8bf39786a': DO NOT MERGE Prevent webview re-use
-rw-r--r--src/com/android/browser/Controller.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index dcb62a6..2765fe0 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -2219,10 +2219,7 @@ public class Controller
} else {
// Get rid of the subwindow if it exists
dismissSubWindow(currentTab);
- if (!urlData.isEmpty()) {
- // Load the given url.
- loadUrlDataIn(currentTab, urlData);
- }
+ reuseTab(currentTab, appId, urlData);
return currentTab;
}
}