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

Commit 1e13a6db authored by David Su's avatar David Su
Browse files

WifiManager: fix JavaDocs for SoftAP Start Failure

JavaDocs are swapped for constants SAP_START_FAILURE_GENERAL and
SAP_START_FAILURE_NO_CHANNEL. Unswapping them.

Bug: 128333924
Test: compiles
Change-Id: I03163fcaa238bd218b8d6f78d8123dfb3e31a04f
parent 268e3ac0
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -511,7 +511,7 @@ public class WifiManager {
    /**
    /**
     * The look up key for an int that indicates why softAP started failed
     * The look up key for an int that indicates why softAP started failed
     * currently support general and no_channel
     * currently support general and no_channel
     * @see #SAP_START_FAILURE_GENERIC
     * @see #SAP_START_FAILURE_GENERAL
     * @see #SAP_START_FAILURE_NO_CHANNEL
     * @see #SAP_START_FAILURE_NO_CHANNEL
     *
     *
     * @hide
     * @hide
@@ -615,15 +615,15 @@ public class WifiManager {
    public @interface SapStartFailure {}
    public @interface SapStartFailure {}


    /**
    /**
     *  If WIFI AP start failed, this reason code means there is no legal channel exists on
     *  All other reasons for AP start failure besides {@link #SAP_START_FAILURE_NO_CHANNEL}.
     *  user selected band by regulatory
     *
     *
     *  @hide
     *  @hide
     */
     */
    public static final int SAP_START_FAILURE_GENERAL= 0;
    public static final int SAP_START_FAILURE_GENERAL= 0;


    /**
    /**
     *  All other reason for AP start failed besides SAP_START_FAILURE_GENERAL
     *  If Wi-Fi AP start failed, this reason code means that no legal channel exists on user
     *  selected band due to regulatory constraints.
     *
     *
     *  @hide
     *  @hide
     */
     */