summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/wifi/AdvancedWifiSettings.java
diff options
context:
space:
mode:
authorVinit Deshapnde <vinitd@google.com>2013-12-04 18:28:45 -0800
committerVinit Deshapnde <vinitd@google.com>2013-12-11 16:05:46 -0800
commitc621418d3d3baf03bca449c9fa796a41863e4942 (patch)
treeb29b47b3ddf48c1ea9ef5ea948e098ce6855acf8 /src/com/android/settings/wifi/AdvancedWifiSettings.java
parent22b70376edd07a011eddb7d74c60c83fa575a1a2 (diff)
downloadpackages_apps_Settings-c621418d3d3baf03bca449c9fa796a41863e4942.tar.gz
packages_apps_Settings-c621418d3d3baf03bca449c9fa796a41863e4942.tar.bz2
packages_apps_Settings-c621418d3d3baf03bca449c9fa796a41863e4942.zip
Move Wifi/P2p service components under services
Some methods need to be public, since frameworks/base complies before frameworks/base/services; and services takes build dependency on base. Similar issue exists with WifiEnterpriseConfig constants. Bug: 9907308 Change-Id: Ied0e3dee0b25c939067dbc66867a9814b3b3b68e
Diffstat (limited to 'src/com/android/settings/wifi/AdvancedWifiSettings.java')
-rw-r--r--src/com/android/settings/wifi/AdvancedWifiSettings.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/settings/wifi/AdvancedWifiSettings.java b/src/com/android/settings/wifi/AdvancedWifiSettings.java
index bbcd50d5a..4accb040b 100644
--- a/src/com/android/settings/wifi/AdvancedWifiSettings.java
+++ b/src/com/android/settings/wifi/AdvancedWifiSettings.java
@@ -22,7 +22,6 @@ import android.content.Intent;
import android.content.IntentFilter;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
-import android.net.wifi.WifiWatchdogStateMachine;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.preference.ListPreference;
@@ -112,7 +111,7 @@ public class AdvancedWifiSettings extends SettingsPreferenceFragment
} else {
poorNetworkDetection.setChecked(Global.getInt(getContentResolver(),
Global.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED,
- WifiWatchdogStateMachine.DEFAULT_POOR_NETWORK_AVOIDANCE_ENABLED ?
+ WifiManager.DEFAULT_POOR_NETWORK_AVOIDANCE_ENABLED ?
1 : 0) == 1);
}
}