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

Commit 9f183e01 authored by Roshan Pius's avatar Roshan Pius
Browse files

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
parent f8448d15
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 = {