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 @Override
public boolean areAllItemsEnabled() { public boolean areAllItemsEnabled() {
for (GeckoMenuItem item : mItems) { // Setting this to true is a workaround to fix disappearing
if (!item.isEnabled()) // dividers in the menu (bug 963249).
return false;
}
return true; return true;
} }