summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2015-03-12 01:20:22 +0100
committerSteve Kondik <steve@cyngn.com>2015-11-07 13:58:30 -0800
commit4e07be9ae8532a9c2955cd9af97fb50b8d912d13 (patch)
treea6247ff0b0beace1964a7faea1bc3f5d41efd915
parent374b3725dfc4dbe59f0fd6e734e7ebab3a3c25b9 (diff)
downloadpackages_apps_Browser-4e07be9ae8532a9c2955cd9af97fb50b8d912d13.zip
packages_apps_Browser-4e07be9ae8532a9c2955cd9af97fb50b8d912d13.tar.gz
packages_apps_Browser-4e07be9ae8532a9c2955cd9af97fb50b8d912d13.tar.bz2
Revert "Fix the smart search pattern."
This reverts commit 3338525823c59867e173c2c65cfed81b6db5c166. This commit breaks many protocol handlers, basically any that use an email or login (like mailto). JIRA: CML-116 Change-Id: Ifb19612bb470e7dbb45128c81fd7cd136c417d2b (cherry picked from commit 3db546f1788b06d2e86502a0956cde5cbbc5b11b)
-rw-r--r--src/com/android/browser/UrlUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/UrlUtils.java b/src/com/android/browser/UrlUtils.java
index 18f3c62..16b670b 100644
--- a/src/com/android/browser/UrlUtils.java
+++ b/src/com/android/browser/UrlUtils.java
@@ -32,7 +32,7 @@ public class UrlUtils {
"(?i)" + // switch on case insensitive matching
"(" + // begin group for schema
"(?:http|https|file):\\/\\/" +
- "|(?:data|about|javascript):" +
+ "|(?:inline|data|about|javascript):" +
"|(?:.*:.*@)" +
")" +
"(.*)" );