Merge "Reflect Wifi config lockdown restriction in Settings" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cb5444ad2c
@@ -147,7 +147,7 @@ public class SavedAccessPointsWifiSettings extends SettingsPreferenceFragment
|
||||
mSelectedAccessPoint = mDlgAccessPoint;
|
||||
|
||||
// Hide forget button if config editing is locked down
|
||||
final boolean hideForgetButton = WifiSettings.isCreatorDeviceOwner(getActivity(),
|
||||
final boolean hideForgetButton = WifiSettings.isEditabilityLockedDown(getActivity(),
|
||||
mDlgAccessPoint.getConfig());
|
||||
mDialog = new WifiDialog(getActivity(), this, mDlgAccessPoint,
|
||||
false /* not editting */, true /* hide the submit button */,
|
||||
|
Reference in New Issue
Block a user