summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserProvider.java
diff options
context:
space:
mode:
authorDan Egnor <egnor@google.com>2009-11-18 12:11:49 -0800
committerDan Egnor <egnor@google.com>2009-11-18 12:11:49 -0800
commit5ee906c089567bca705e18561357510d7b55cb5a (patch)
treeca1ed4bccdedeead8d12ce6d91022c5cca099a17 /src/com/android/browser/BrowserProvider.java
parent5b75cd02aab6284ec115df8e12228303c2d1ce9d (diff)
downloadpackages_apps_Browser-5ee906c089567bca705e18561357510d7b55cb5a.zip
packages_apps_Browser-5ee906c089567bca705e18561357510d7b55cb5a.tar.gz
packages_apps_Browser-5ee906c089567bca705e18561357510d7b55cb5a.tar.bz2
Change android.text.util.Regex to com.android.common.Patterns
Diffstat (limited to 'src/com/android/browser/BrowserProvider.java')
-rw-r--r--src/com/android/browser/BrowserProvider.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/com/android/browser/BrowserProvider.java b/src/com/android/browser/BrowserProvider.java
index 8e0929b..cecc8d2 100644
--- a/src/com/android/browser/BrowserProvider.java
+++ b/src/com/android/browser/BrowserProvider.java
@@ -16,8 +16,6 @@
package com.android.browser;
-import com.google.android.providers.GoogleSettings.Partner;
-
import android.app.SearchManager;
import android.backup.BackupManager;
import android.content.ComponentName;
@@ -46,10 +44,13 @@ import android.provider.Settings;
import android.provider.Browser.BookmarkColumns;
import android.server.search.SearchableInfo;
import android.text.TextUtils;
-import android.text.util.Regex;
import android.util.Log;
import android.util.TypedValue;
+import com.android.common.Patterns;
+
+import com.google.android.providers.GoogleSettings.Partner;
+
import java.io.File;
import java.io.FilenameFilter;
import java.util.Date;
@@ -749,7 +750,7 @@ public class BrowserProvider extends ContentProvider {
ORDER_BY, MAX_SUGGESTION_LONG_ENTRIES_STRING);
if (match == URI_MATCH_BOOKMARKS_SUGGEST
- || Regex.WEB_URL_PATTERN.matcher(selectionArgs[0]).matches()) {
+ || Patterns.WEB_URL.matcher(selectionArgs[0]).matches()) {
return new MySuggestionCursor(c, null, "");
} else {
// get Google suggest if there is still space in the list