From 439c9a58765aa6aab95d55422ee61ea8360e912d Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 14 Dec 2010 10:04:39 -0800 Subject: 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 --- src/com/android/browser/IntentHandler.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/com/android/browser/IntentHandler.java') diff --git a/src/com/android/browser/IntentHandler.java b/src/com/android/browser/IntentHandler.java index cbbc48236..bd5595f9a 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(); -- cgit v1.2.3