Bug 963249 - Override MenuItemsAdapter#areAllItemsEnabled to always be true. r=wesj

This commit is contained in:
Brian Nicholson 2014-02-24 12:45:44 -08:00
parent a25112467e
commit f7d1d63324

View File

@ -734,11 +734,8 @@ public class GeckoMenu extends ListView
@Override
public boolean areAllItemsEnabled() {
for (GeckoMenuItem item : mItems) {
if (!item.isEnabled())
return false;
}
// Setting this to true is a workaround to fix disappearing
// dividers in the menu (bug 963249).
return true;
}