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

Commit 9effa648 authored by Hai Shalom's avatar Hai Shalom
Browse files

Fix Wi-Fi setup in setup wizard

Fix Wi-Fi setup in setup wizard; New WPA3/OWE networks added to
arrays.xml in an order of security caused a mismatch in the network type
index in SUW. Workaround to append the new string instead. Will require
additional work.

Bug: 119385642
Test: Setup wizard and settings app functional test
Change-Id: I333653d9292d2fae6bb92e026b4d6c567c3a8386
parent b4c2dc0c
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -158,11 +158,11 @@ public class AccessPoint implements Comparable<AccessPoint> {
     * These values are matched in string arrays -- changes must be kept in sync
     */
    public static final int SECURITY_NONE = 0;
    public static final int SECURITY_OWE = 1;
    public static final int SECURITY_WEP = 2;
    public static final int SECURITY_PSK = 3;
    public static final int SECURITY_SAE = 4;
    public static final int SECURITY_EAP = 5;
    public static final int SECURITY_WEP = 1;
    public static final int SECURITY_PSK = 2;
    public static final int SECURITY_EAP = 3;
    public static final int SECURITY_OWE = 4;
    public static final int SECURITY_SAE = 5;
    public static final int SECURITY_EAP_SUITE_B = 6;

    private static final int PSK_UNKNOWN = 0;