Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69581c49 authored by Tanguy Pruvot's avatar Tanguy Pruvot
Browse files

WifiService: Disable debugging, add a wifi.debug property for that

also reduce log level of hidden ssid scan results (debug)

Change-Id: I8b87b04c3ba33275ae2510bf7ae26dd136b81f67
parent 07914a40
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ import com.android.internal.R;
 */
public class WifiService extends IWifiManager.Stub {
    private static final String TAG = "WifiService";
    private static final boolean DBG = true;
    private static final boolean DBG = SystemProperties.getBoolean("wifi.debug", false);
    private static final Pattern scanResultPattern = Pattern.compile("\t+");
    private final WifiStateTracker mWifiStateTracker;
    /* TODO: fetch a configurable interface */
@@ -1571,7 +1571,7 @@ public class WifiService extends IWifiManager.Stub {
                    if (scanResult != null) {
                        scanList.add(scanResult);
                    } else if (DBG) {
                        Slog.w(TAG, "misformatted scan result for: " + line);
                        Slog.d(TAG, "misformatted scan result for: " + line);
                    }
                }
                lineBeg = lineEnd + 1;