Merge \"Do not use TetherUtil.setWifiTethering\" into nyc-mr1-dev

am: 62edbf484e

Change-Id: I023592acc146cbddb2917556a0fb7c3dade417f4
This commit is contained in:
Christopher Wiley
2016-07-19 16:02:42 +00:00
committed by android-build-merger
3 changed files with 7 additions and 12 deletions

View File

@@ -110,16 +110,6 @@ public class WifiApEnabler {
}
}
public void setSoftapEnabled(boolean enable) {
if (TetherUtil.setWifiTethering(enable, mContext)) {
/* Disable here, enabled on receiving success broadcast */
mSwitch.setEnabled(false);
} else {
mSwitch.setSummary(R.string.wifi_error);
}
}
public void updateConfigSummary(WifiConfiguration wifiConfig) {
String s = mContext.getString(
com.android.internal.R.string.wifi_tether_configure_ssid_default);