summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/IntentHandler.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2010-12-14 10:04:39 -0800
committerJohn Reck <jreck@google.com>2010-12-15 11:39:54 -0800
commit439c9a58765aa6aab95d55422ee61ea8360e912d (patch)
treef0c4cd1e144733d34825f370e0e52aa382aaa648 /src/com/android/browser/IntentHandler.java
parenta50c446037eecaa2dcd83dab133bd9dc390ede69 (diff)
downloadpackages_apps_Browser-439c9a58765aa6aab95d55422ee61ea8360e912d.zip
packages_apps_Browser-439c9a58765aa6aab95d55422ee61ea8360e912d.tar.gz
packages_apps_Browser-439c9a58765aa6aab95d55422ee61ea8360e912d.tar.bz2
Spec update for Bookmark widget
Bug: 3286323 This updates both the assets for the bookmark widget and slightly alters its behavior to match the updated spec. There are now two touch targets in the header, one launches the browser and the other launches the bookmarks view. Change-Id: I1e8864983852af8421280b86421dea1d9ed4335e
Diffstat (limited to 'src/com/android/browser/IntentHandler.java')
-rw-r--r--src/com/android/browser/IntentHandler.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/browser/IntentHandler.java b/src/com/android/browser/IntentHandler.java
index cbbc482..bd5595f 100644
--- a/src/com/android/browser/IntentHandler.java
+++ b/src/com/android/browser/IntentHandler.java
@@ -84,6 +84,14 @@ public class IntentHandler {
// just resume the browser
return;
}
+ if (BrowserActivity.ACTION_SHOW_BOOKMARKS.equals(action)) {
+ mController.bookmarksOrHistoryPicker(false);
+ return;
+ }
+ if (BrowserActivity.ACTION_SHOW_BROWSER.equals(action)) {
+ mController.removeComboView();
+ return;
+ }
// In case the SearchDialog is open.
((SearchManager) mActivity.getSystemService(Context.SEARCH_SERVICE))
.stopSearch();