Merge "Turn off WifiTetherSettings page." into oc-mr1-dev
am: b9da1117d0
Change-Id: I4f027adb993a7971f83d3fd659a86dc4392ae57e
This commit is contained in:
@@ -81,7 +81,7 @@ public class WifiApEnabler {
|
||||
mContext = context;
|
||||
mDataSaverBackend = dataSaverBackend;
|
||||
mSwitch = switchPreference;
|
||||
mOriginalSummary = switchPreference.getSummary();
|
||||
mOriginalSummary = context.getText(R.string.wifi_hotspot_off_subtext);
|
||||
switchPreference.setPersistent(false);
|
||||
|
||||
mWifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
|
||||
|
@@ -46,7 +46,7 @@ public class WifiTetherSettings extends RestrictedDashboardFragment
|
||||
implements WifiTetherBasePreferenceController.OnTetherConfigUpdateListener {
|
||||
|
||||
public static boolean isTetherSettingPageEnabled() {
|
||||
return SystemProperties.getBoolean("settings.ui.wifi.tether.enabled", true);
|
||||
return SystemProperties.getBoolean("settings.ui.wifi.tether.enabled", false);
|
||||
}
|
||||
|
||||
private static final IntentFilter TETHER_STATE_CHANGE_FILTER;
|
||||
|
Reference in New Issue
Block a user