Merge "New recent failure reason for MBO"
This commit is contained in:
@@ -7248,6 +7248,7 @@ package android.net.wifi {
|
||||
field @Deprecated public static final int RANDOMIZATION_NONE = 0; // 0x0
|
||||
field @Deprecated public static final int RANDOMIZATION_PERSISTENT = 1; // 0x1
|
||||
field @Deprecated public static final int RECENT_FAILURE_AP_UNABLE_TO_HANDLE_NEW_STA = 17; // 0x11
|
||||
field @Deprecated public static final int RECENT_FAILURE_MBO_OCE_DISCONNECT = 1001; // 0x3e9
|
||||
field @Deprecated public static final int RECENT_FAILURE_NONE = 0; // 0x0
|
||||
field @Deprecated public boolean allowAutojoin;
|
||||
field @Deprecated public int carrierId;
|
||||
|
||||
@@ -332,6 +332,7 @@ package android.net.wifi {
|
||||
field @Deprecated public static final int RANDOMIZATION_NONE = 0; // 0x0
|
||||
field @Deprecated public static final int RANDOMIZATION_PERSISTENT = 1; // 0x1
|
||||
field @Deprecated public static final int RECENT_FAILURE_AP_UNABLE_TO_HANDLE_NEW_STA = 17; // 0x11
|
||||
field @Deprecated public static final int RECENT_FAILURE_MBO_OCE_DISCONNECT = 1001; // 0x3e9
|
||||
field @Deprecated public static final int RECENT_FAILURE_NONE = 0; // 0x0
|
||||
field @Deprecated public boolean allowAutojoin;
|
||||
field @Deprecated public int carrierId;
|
||||
|
||||
@@ -2066,7 +2066,8 @@ public class WifiConfiguration implements Parcelable {
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@IntDef(prefix = "RECENT_FAILURE_", value = {
|
||||
RECENT_FAILURE_NONE,
|
||||
RECENT_FAILURE_AP_UNABLE_TO_HANDLE_NEW_STA})
|
||||
RECENT_FAILURE_AP_UNABLE_TO_HANDLE_NEW_STA,
|
||||
RECENT_FAILURE_MBO_OCE_DISCONNECT})
|
||||
public @interface RecentFailureReason {}
|
||||
|
||||
/**
|
||||
@@ -2083,6 +2084,13 @@ public class WifiConfiguration implements Parcelable {
|
||||
@SystemApi
|
||||
public static final int RECENT_FAILURE_AP_UNABLE_TO_HANDLE_NEW_STA = 17;
|
||||
|
||||
/**
|
||||
* This network recently disconnected as a result of MBO/OCE.
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public static final int RECENT_FAILURE_MBO_OCE_DISCONNECT = 1001;
|
||||
|
||||
/**
|
||||
* Get the failure reason for the most recent connection attempt, or
|
||||
* {@link #RECENT_FAILURE_NONE} if there was no failure.
|
||||
|
||||
Reference in New Issue
Block a user