DO NOT MERGE Prevent webview re-use
Bug: 4742007
Prevent re-using an existing webview when handling a new intent.
This can have unwanted side effects.
Change-Id: Ifc142afe5b49c35b1e1de0d0da63244a5e6250ce
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 @@
} 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;
}
}