summaryrefslogtreecommitdiff
path: root/src/com/android/browser/IntentHandler.java
diff options
context:
space:
mode:
authorJonathan Dixon <joth@google.com>2012-12-17 13:39:17 -0800
committerJonathan Dixon <joth@google.com>2012-12-17 13:39:17 -0800
commite1d6dfca80e4627a0c7fe46e38f904179c3edab3 (patch)
tree10f62ca2d7f4567e8cb717ec626215eb9a4681f8 /src/com/android/browser/IntentHandler.java
parentdd41509b73803f4f575b739b6276177fe9de7e80 (diff)
downloadBrowser-e1d6dfca80e4627a0c7fe46e38f904179c3edab3.tar.gz
De-classicify Browser
Removes the hard run-time dependency on WebViewClassic. (Still needs visisbility of it to build though) This is needed to enable chromium webview testing. Change-Id: I290b6b23b2eac525537ebc3ef8007d681a67a169
Diffstat (limited to 'src/com/android/browser/IntentHandler.java')
-rw-r--r--src/com/android/browser/IntentHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/IntentHandler.java b/src/com/android/browser/IntentHandler.java
index f0998a44..45520d65 100644
--- a/src/com/android/browser/IntentHandler.java
+++ b/src/com/android/browser/IntentHandler.java
@@ -172,7 +172,7 @@ public class IntentHandler {
}
}
} else {
- if (!urlData.isEmpty()
+ if (BrowserWebView.isClassic() && !urlData.isEmpty()
&& urlData.mUrl.startsWith("about:debug")) {
if ("about:debug.dom".equals(urlData.mUrl)) {
current.getWebViewClassic().dumpDomTree(false);