summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/BrowserActivity.java5
-rw-r--r--src/com/android/browser/TabControl.java2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 53640e5..40dbdf0 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -1289,13 +1289,12 @@ public class BrowserActivity extends Activity
}
/**
- * Overriding this forces the search key to launch global search. The difference
- * is the final "true" which requests global search.
+ * Overriding this to insert a local information bundle
*/
@Override
public boolean onSearchRequested() {
startSearch(null, false,
- createGoogleSearchSourceBundle(GOOGLE_SEARCH_SOURCE_SEARCHKEY), true);
+ createGoogleSearchSourceBundle(GOOGLE_SEARCH_SOURCE_SEARCHKEY), false);
return true;
}
diff --git a/src/com/android/browser/TabControl.java b/src/com/android/browser/TabControl.java
index 2f39302..57e55c4 100644
--- a/src/com/android/browser/TabControl.java
+++ b/src/com/android/browser/TabControl.java
@@ -423,6 +423,8 @@ class TabControl {
// Create a new tab and add it to the tab list
Tab t = new Tab(w, closeOnExit);
mTabs.add(t);
+ // Initially put the tab in the background.
+ putTabInBackground(t);
return t;
}