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

Commit 1057ec58 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Only display RSSI/band information if network is connected."

parents 34dc4c1f 3c4f4ffc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -749,7 +749,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());
@@ -814,7 +814,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);