Bug 795911 - Add-on menus do not fire r=sriram

This commit is contained in:
Mark Finkle 2012-10-01 12:36:59 -04:00
parent d811a0d478
commit 860551d597

View File

@ -671,7 +671,7 @@ abstract public class BrowserApp extends GeckoApp
@Override
public boolean onMenuItemClick(MenuItem item) {
Log.i(LOGTAG, "menu item clicked");
GeckoAppShell.sendEventToGecko(GeckoEvent.createBroadcastEvent("Menu:Clicked", Integer.toString(id)));
GeckoAppShell.sendEventToGecko(GeckoEvent.createBroadcastEvent("Menu:Clicked", Integer.toString(id - ADDON_MENU_OFFSET)));
return true;
}
});