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

Commit 873edc6e authored by Peter Qiu's avatar Peter Qiu
Browse files

wifi: add "wrong password" network disabled reason

Bug: 62444625
Test: manual test
Test: integration test
Change-Id: I8b56f926fce41eea33522d8daa82b6a5fe1b31c0
parent ca7da2b2
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -890,10 +890,14 @@ public class WifiConfiguration implements Parcelable {
         * This network is disabled due to user switching
         */
        public static final int DISABLED_DUE_TO_USER_SWITCH = 11;
        /**
         * This network is disabled due to wrong password
         */
        public static final int DISABLED_BY_WRONG_PASSWORD = 12;
        /**
         * This Maximum disable reason value
         */
        public static final int NETWORK_SELECTION_DISABLED_MAX = 12;
        public static final int NETWORK_SELECTION_DISABLED_MAX = 13;

        /**
         * Quality network selection disable reason String (for debug purpose)
@@ -910,7 +914,8 @@ public class WifiConfiguration implements Parcelable {
                "NETWORK_SELECTION_DISABLED_AUTHENTICATION_NO_CREDENTIALS",
                "NETWORK_SELECTION_DISABLED_NO_INTERNET",
                "NETWORK_SELECTION_DISABLED_BY_WIFI_MANAGER",
                "NETWORK_SELECTION_DISABLED_BY_USER_SWITCH"
                "NETWORK_SELECTION_DISABLED_BY_USER_SWITCH",
                "NETWORK_SELECTION_DISABLED_BY_WRONG_PASSWORD"
        };

        /**