* commit '51e8febf8c4b522a9704b3ba9bb19a2f7f45a0f5': Supress menu if screen ought to be hidden.
This commit is contained in:
@@ -133,7 +133,9 @@ public class ApnSettings extends SettingsPreferenceFragment implements
|
||||
mMobileStateFilter = new IntentFilter(
|
||||
TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED);
|
||||
|
||||
setHasOptionsMenu(true);
|
||||
if (!mUm.hasUserRestriction(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS)) {
|
||||
setHasOptionsMenu(true);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user