From 3130660e0045923199c74efa7c1df9ea85501dce Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Fri, 17 Sep 2010 11:10:29 -0400 Subject: Default to Google if global search provider not present. Bug: 3009486 Change-Id: I9d727b5f6d478483814e420aca7ad30dcf5252f5 --- src/com/android/browser/BrowserSettings.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/android/browser/BrowserSettings.java') diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java index 92b4cac..a51c773 100644 --- a/src/com/android/browser/BrowserSettings.java +++ b/src/com/android/browser/BrowserSettings.java @@ -302,7 +302,8 @@ class BrowserSettings extends Observable { homeUrl = p.getString(PREF_HOMEPAGE, homeUrl); - String searchEngineName = p.getString(PREF_SEARCH_ENGINE, null); + String searchEngineName = p.getString(PREF_SEARCH_ENGINE, + SearchEngine.GOOGLE); if (searchEngine == null || !searchEngine.getName().equals(searchEngineName)) { if (searchEngine != null) { if (searchEngine.supportsVoiceSearch()) { -- cgit v1.1