Remove combo view on new intent
Bug: 3365077
Make sure we remove the combo view when a new intent is received,
after we check if the intent is to show the combo view or to bring
the browser to the foreground (from history and/or launcher)
Change-Id: If6e6647192246d96d7122232c26229b05a3f3888
diff --git a/src/com/android/browser/IntentHandler.java b/src/com/android/browser/IntentHandler.java
index 2a34aba..9c50975 100644
--- a/src/com/android/browser/IntentHandler.java
+++ b/src/com/android/browser/IntentHandler.java
@@ -87,10 +87,8 @@
mController.bookmarksOrHistoryPicker(false);
return;
}
- if (BrowserActivity.ACTION_SHOW_BROWSER.equals(action)) {
- mController.removeComboView();
- return;
- }
+ mController.removeComboView();
+
// In case the SearchDialog is open.
((SearchManager) mActivity.getSystemService(Context.SEARCH_SERVICE))
.stopSearch();