make verbose logging a wifimanager hidden API
Change-Id: I092b7f507ad4dfdab16658929f02584a1fc22ba4
This commit is contained in:
@@ -712,6 +712,8 @@ public class WifiSettings extends RestrictedSettingsFragment
|
||||
return super.onCreateDialog(dialogId);
|
||||
}
|
||||
|
||||
/** verbose logging flag is set only thru developer debugging options */
|
||||
public static int mVerboseLogging = 0;
|
||||
/**
|
||||
* Shows the latest access points available with supplimental information like
|
||||
* the strength of network and the security for it.
|
||||
@@ -726,6 +728,9 @@ public class WifiSettings extends RestrictedSettingsFragment
|
||||
}
|
||||
final int wifiState = mWifiManager.getWifiState();
|
||||
|
||||
//check if verbose logging has been turned on or off
|
||||
mVerboseLogging = mWifiManager.getVerboseLoggingLevel();
|
||||
|
||||
switch (wifiState) {
|
||||
case WifiManager.WIFI_STATE_ENABLED:
|
||||
// AccessPoints are automatically sorted with TreeSet.
|
||||
|
Reference in New Issue
Block a user