Remove TetherUtil functions which are no longer needed.

Change-Id: I8559a2aaffa44e165d4e5e9070a85f23ed02b58b
This commit is contained in:
Jeremy Klein
2016-01-29 12:46:42 -08:00
parent e3e7b95312
commit 3a14416d55
4 changed files with 8 additions and 11 deletions

View File

@@ -21,6 +21,7 @@ import android.content.Intent;
import android.graphics.drawable.Icon;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiManager;
import com.android.settings.R;
import com.android.settings.TetherSettings;
import com.android.settings.Utils;
@@ -37,7 +38,7 @@ public class HotspotCondition extends Condition {
@Override
public void refreshState() {
boolean wifiTetherEnabled = TetherUtil.isWifiTetherEnabled(mManager.getContext());
boolean wifiTetherEnabled = mWifiManager.isWifiApEnabled();
setActive(wifiTetherEnabled);
}