am e9a8b3df: am 1f604d5b: am 1977342e: Merge "Fixed Settings Cellular Networks crash." into lmp-dev

* commit 'e9a8b3df7d9050517b29aa7bb57f92adc833ea7b':
  Fixed Settings Cellular Networks crash.
This commit is contained in:
PauloftheWest
2014-09-20 00:13:32 +00:00
committed by Android Git Automerger

View File

@@ -513,11 +513,8 @@ public class DataUsageSummary extends HighlightingFragment implements Indexable
mMenuSimCards.setVisible(false);
mMenuCellularNetworks = menu.findItem(R.id.data_usage_menu_cellular_networks);
if (hasReadyMobileRadio(context)) {
mMenuCellularNetworks.setVisible(!appDetailMode);
} else {
mMenuCellularNetworks.setVisible(false);
}
mMenuCellularNetworks.setVisible(hasReadyMobileRadio(context)
&& !appDetailMode && isOwner);
final MenuItem help = menu.findItem(R.id.data_usage_menu_help);
String helpUrl;