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

Commit 3e9e5fa6 authored by Sanket Padawe's avatar Sanket Padawe
Browse files

Fix display of "null" string shown in Wifi Settings for AP.

Bug: 21476825
Change-Id: I643dcaa3112ff896e7b0abd998f2ad5e13187706
parent 36e39974
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -755,7 +755,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
        int index = state.ordinal();

        if (index >= formats.length || formats[index].length() == 0) {
            return null;
            return "";
        }
        return String.format(formats[index], ssid);
    }