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

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

Merge "Fix calculation of Access Point Level."

parents da18efe6 8f060d71
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -319,6 +319,7 @@
    <!-- Match this with drawable.wifi_signal. --> <skip />
    <!-- Wi-Fi settings. The signal strength a Wi-Fi network has. -->
    <string-array name="wifi_signal">
        <item>Poor</item>
        <item>Poor</item>
        <item>Fair</item>
        <item>Good</item>
+1 −1
Original line number Diff line number Diff line
@@ -642,7 +642,7 @@ public class WifiSettings extends RestrictedSettingsFragment
                for (; index < numAccessPointsToShow; index++) {
                    AccessPoint accessPoint = accessPoints.get(index);
                    // Ignore access points that are out of range.
                    if (accessPoint.getLevel() != -1) {
                    if (accessPoint.isReachable()) {
                        String key = accessPoint.getBssid();
                        if (TextUtils.isEmpty(key)) {
                            key = accessPoint.getSsidStr();