Merge "Only display RSSI/band information if network is connected." into oc-mr1-dev
am: c7886489ee
Change-Id: I18be4be9f92d841cf5579ecde4fd6b73c860ee93
This commit is contained in:
@@ -754,7 +754,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
|
||||
if (WifiTracker.sVerboseLogging) {
|
||||
// Add RSSI/band information for this config, what was seen up to 6 seconds ago
|
||||
// verbose WiFi Logging is only turned on thru developers settings
|
||||
if (mInfo != null && mNetworkInfo != null) { // This is the active connection
|
||||
if (isActive() && mInfo != null) {
|
||||
summary.append(" f=" + Integer.toString(mInfo.getFrequency()));
|
||||
}
|
||||
summary.append(" " + getVisibilityStatus());
|
||||
@@ -819,7 +819,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
|
||||
|
||||
long now = System.currentTimeMillis();
|
||||
|
||||
if (mInfo != null) {
|
||||
if (isActive() && mInfo != null) {
|
||||
bssid = mInfo.getBSSID();
|
||||
if (bssid != null) {
|
||||
visibility.append(" ").append(bssid);
|
||||
|
||||
Reference in New Issue
Block a user