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

Commit bfe6f212 authored by Amin Shaikh's avatar Amin Shaikh
Browse files

Sort saved networks using case insensitive order.

Bug: 36570745
Test: m RunSettingsRoboTests
Change-Id: Ie2b2d6dc012429f3ac57f24db26720e67e0bac13
parent 510a1a69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ public class SavedAccessPointsWifiSettings extends SettingsPreferenceFragment
        Collections.sort(accessPoints, new Comparator<AccessPoint>() {
            public int compare(AccessPoint ap1, AccessPoint ap2) {
                if (ap1.getConfigName() != null) {
                    return ap1.getConfigName().compareTo(ap2.getConfigName());
                    return ap1.getConfigName().compareToIgnoreCase(ap2.getConfigName());
                } else {
                    return -1;
                }