WifiManager: Add @hide constant for sap

Reason code used to send out a disconnect when SAP is being shutdown.

Bug: 154286607
Test: Compiles
Change-Id: I3cb9b97960c1c9002435f23ba72ed14005a2d814
This commit is contained in:
Roshan Pius
2020-04-20 09:27:51 -07:00
parent f8448d1538
commit 9f183e0108

View File

@@ -758,6 +758,13 @@ public class WifiManager {
@SystemApi
public static final int SAP_CLIENT_BLOCK_REASON_CODE_NO_MORE_STAS = 1;
/**
* Client disconnected for unspecified reason. This could for example be because the AP is being
* shut down.
* @hide
*/
public static final int SAP_CLIENT_DISCONNECT_REASON_CODE_UNSPECIFIED = 2;
/** @hide */
@Retention(RetentionPolicy.SOURCE)
@IntDef(prefix = {"IFACE_IP_MODE_"}, value = {