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

Commit 68d08c6c authored by Christopher Tate's avatar Christopher Tate
Browse files

Document permission & broadcast semantics re wifi state

Bug: 26347905
Test: offline-sdk-docs
Change-Id: Iceca5daa229397d2e492b72eb2b825b0b42c8dd4
parent 986edc19
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -447,7 +447,11 @@ public class WifiManager {
    /**
     * Broadcast intent action indicating that Wi-Fi has been enabled, disabled,
     * enabling, disabling, or unknown. One extra provides this state as an int.
     * Another extra provides the previous state, if available.
     * Another extra provides the previous state, if available.  No network-related
     * permissions are required to subscribe to this broadcast.
     *
     * <p class="note">This broadcast is not delivered to manifest receivers in
     * applications that target API version 26 or later.
     *
     * @see #EXTRA_WIFI_STATE
     * @see #EXTRA_PREVIOUS_WIFI_STATE
@@ -748,7 +752,11 @@ public class WifiManager {
    /**
     * Broadcast intent action indicating that the state of Wi-Fi connectivity
     * has changed. An extra provides the new state
     * in the form of a {@link android.net.NetworkInfo} object.
     * in the form of a {@link android.net.NetworkInfo} object.  No network-related
     * permissions are required to subscribe to this broadcast.
     *
     * <p class="note">This broadcast is not delivered to manifest receivers in
     * applications that target API version 26 or later.
     * @see #EXTRA_NETWORK_INFO
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)