OSDN Git Service

Add network disabled reason starting index
authorRandy Pan <zpan@google.com>
Mon, 1 May 2017 23:58:03 +0000 (16:58 -0700)
committerRandy Pan <zpan@google.com>
Tue, 2 May 2017 05:07:26 +0000 (22:07 -0700)
Bug: 36872201
Test: Flash, run connection tests and check the bug reports
Change-Id: I4b015bc805671765f32cbabe6e5f4b623498279d

wifi/java/android/net/wifi/WifiConfiguration.java

index e31a74b..f7333e2 100644 (file)
@@ -839,6 +839,10 @@ public class WifiConfiguration implements Parcelable {
          */
         public static final int NETWORK_SELECTION_ENABLE = 0;
         /**
+         * The starting index for network selection disabled reasons
+         */
+        public static final int NETWORK_SELECTION_DISABLED_STARTING_INDEX = 1;
+        /**
          * @deprecated it is not used any more.
          * This network is disabled because higher layer (>2) network is bad
          */