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

Commit 54dabe78 authored by Nalla Kartheek's avatar Nalla Kartheek Committed by Steve Kondik
Browse files

Wi-Fi: Introduce state variable to signify Wi-Fi turn on Fail

This state variable signify that Wi-Fi turn on failed. This information is
broadcasted through Wi-Fi state change event.

Change-Id: I6b40857ecdbf7d8a106c08d66cc328071cdc5db4
CRs-Fixed: 947716
parent 7ffd9936
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -187,6 +187,14 @@ public class WifiManager {
     */
    public static final int WIFI_STATE_UNKNOWN = 4;

    /**
     * Wi-Fi is in failed state. This state will occur when load driver failed or start
     * supplicant failed.
     *
     * @hide
     */
    public static final int WIFI_STATE_FAILED = 5;

    /**
     * Broadcast intent action indicating that Wi-Fi AP has been enabled, disabled,
     * enabling, disabling, or failed.