Merge "Enforce wifi config lockdown on details page." into oc-mr1-dev am: 10adff1163
am: e7cf5e6221
Change-Id: I356a58cadd3e19e61d9585f08e47c9d4cdcf4318
This commit is contained in:
@@ -1130,7 +1130,7 @@ public class WifiSettings extends RestrictedSettingsFragment
|
||||
* @param config The WiFi config.
|
||||
* @return true if the config is not editable through Settings.
|
||||
*/
|
||||
static boolean isEditabilityLockedDown(Context context, WifiConfiguration config) {
|
||||
public static boolean isEditabilityLockedDown(Context context, WifiConfiguration config) {
|
||||
return !canModifyNetwork(context, config);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user