diff options
author | John Reck <jreck@google.com> | 2011-05-11 16:12:27 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-05-11 16:14:00 -0700 |
commit | 2cb9dc2db14154753d906ff4cce87c333df54214 (patch) | |
tree | 15110c416de2a5cf19a8a4c85664d6f0f7936437 /src/com/android/browser/UrlUtils.java | |
parent | 80b1f82eeb126a8eb5b733ecbd47fd53e17f55d7 (diff) | |
download | android_packages_apps_Gello-2cb9dc2db14154753d906ff4cce87c333df54214.tar.gz android_packages_apps_Gello-2cb9dc2db14154753d906ff4cce87c333df54214.tar.bz2 android_packages_apps_Gello-2cb9dc2db14154753d906ff4cce87c333df54214.zip |
Strip text2_url
Bug: 4387881
Change-Id: I624db23a1181b5f8d8c7fe1a42916f6616655309
Diffstat (limited to 'src/com/android/browser/UrlUtils.java')
-rw-r--r-- | src/com/android/browser/UrlUtils.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/browser/UrlUtils.java b/src/com/android/browser/UrlUtils.java index d6278ca4..ccf97103 100644 --- a/src/com/android/browser/UrlUtils.java +++ b/src/com/android/browser/UrlUtils.java @@ -16,8 +16,6 @@ package com.android.browser; -import com.android.browser.homepages.HomeProvider; - import android.net.Uri; import android.util.Patterns; import android.webkit.URLUtil; @@ -59,7 +57,7 @@ public class UrlUtils { * @return a stripped url like "www.google.com", or the original string if it could * not be stripped */ - /* package */ static String stripUrl(String url) { + public static String stripUrl(String url) { if (url == null) return null; Matcher m = STRIP_URL_PATTERN.matcher(url); if (m.matches() && m.groupCount() == 3) { |