summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2011-04-06 19:22:23 -0700
committerJoe Onorato <joeo@google.com>2011-04-07 19:23:05 -0700
commit43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 (patch)
treea5aac88ebb367a0f046a5724edc8e35cbe192cb9 /wifi
parentea4af8914a3b6ea68558f20ce502966032ca1ab1 (diff)
downloadframeworks_base-43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09.zip
frameworks_base-43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09.tar.gz
frameworks_base-43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09.tar.bz2
Remove the deprecated things from Config.java. These haven't been working since before 1.0.
Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiMonitor.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/wifi/java/android/net/wifi/WifiMonitor.java b/wifi/java/android/net/wifi/WifiMonitor.java
index ce38261..4a45825 100644
--- a/wifi/java/android/net/wifi/WifiMonitor.java
+++ b/wifi/java/android/net/wifi/WifiMonitor.java
@@ -17,7 +17,6 @@
package android.net.wifi;
import android.util.Log;
-import android.util.Config;
import android.net.NetworkInfo;
import java.util.regex.Pattern;
@@ -182,7 +181,7 @@ public class WifiMonitor {
String eventStr = WifiNative.waitForEvent();
// Skip logging the common but mostly uninteresting scan-results event
- if (Config.LOGD && eventStr.indexOf(scanResultsEvent) == -1) {
+ if (false && eventStr.indexOf(scanResultsEvent) == -1) {
Log.v(TAG, "Event [" + eventStr + "]");
}
if (!eventStr.startsWith(eventPrefix)) {
@@ -200,7 +199,7 @@ public class WifiMonitor {
if (nameEnd != -1)
eventName = eventName.substring(0, nameEnd);
if (eventName.length() == 0) {
- if (Config.LOGD) Log.i(TAG, "Received wpa_supplicant event with empty event name");
+ if (false) Log.i(TAG, "Received wpa_supplicant event with empty event name");
continue;
}
/*
@@ -251,7 +250,7 @@ public class WifiMonitor {
* stopped the supplicant, simply exit the monitor thread
*/
if (eventData.startsWith(monitorSocketClosed)) {
- if (Config.LOGD) {
+ if (false) {
Log.d(TAG, "Monitor socket is closed, exiting thread");
}
break;
@@ -263,7 +262,7 @@ public class WifiMonitor {
*/
if (eventData.startsWith(wpaRecvError)) {
if (++mRecvErrors > MAX_RECV_ERRORS) {
- if (Config.LOGD) {
+ if (false) {
Log.d(TAG, "too many recv errors, closing connection");
}
} else {
@@ -398,7 +397,7 @@ public class WifiMonitor {
if (newState == NetworkInfo.DetailedState.CONNECTED) {
Matcher match = mConnectedEventPattern.matcher(data);
if (!match.find()) {
- if (Config.LOGD) Log.d(TAG, "Could not find BSSID in CONNECTED event string");
+ if (false) Log.d(TAG, "Could not find BSSID in CONNECTED event string");
} else {
BSSID = match.group(1);
try {