diff options
author | John Reck <jreck@google.com> | 2010-11-09 16:34:03 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-11-17 14:24:50 -0800 |
commit | dbf57df890f091286f0107933b0034d39629a9a8 (patch) | |
tree | 4bf758e5571198d91af5235136270a0caca2748c /res/menu | |
parent | 8849be57c6cef8d7fc6a954f094dc95a3238e2ed (diff) | |
download | packages_apps_browser-dbf57df890f091286f0107933b0034d39629a9a8.zip packages_apps_browser-dbf57df890f091286f0107933b0034d39629a9a8.tar.gz packages_apps_browser-dbf57df890f091286f0107933b0034d39629a9a8.tar.bz2 |
Fix context menu handling for Bookmarks and History
Bugs: 3125172 and 3102808
BrowserActivity was trying (and failing) to handle context menu
actions that came from fragments such as bookmarks and history.
This fixes it so that BrowserActivity no longer tries to handle
menus that it didn't create.
Change-Id: I09b5f36a0030f02de6ce09ac7588cb8c78394d39
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/historycontext.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/menu/historycontext.xml b/res/menu/historycontext.xml index bd4ede4..3eaeb20 100644 --- a/res/menu/historycontext.xml +++ b/res/menu/historycontext.xml @@ -15,6 +15,7 @@ --> <menu xmlns:android="http://schemas.android.com/apk/res/android"> + <group android:id="@+id/CONTEXT_MENU"> <item android:id="@+id/open_context_menu_id" android:title="@string/contextmenu_openlink"/> <item android:id="@+id/new_window_context_menu_id" @@ -29,4 +30,5 @@ android:title="@string/remove_history_item"/> <item android:id="@+id/homepage_context_menu_id" android:title="@string/set_as_homepage"/> + </group> </menu> |