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

Commit 036b140b authored by Jimmy Chen's avatar Jimmy Chen Committed by Etan Cohen
Browse files

p2p: update documents about EXTRA_WIFI_P2P_GROUP in connection changed event

This value may be a null, receiver should check before using variable.

Bug: 137618950
Test: make docs
Change-Id: If466dac092fc345482d0456f08a915d1e7ba0010
parent daf8086a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ public class WifiP2pManager {
     * has changed. One extra {@link #EXTRA_WIFI_P2P_INFO} provides the p2p connection info in
     * the form of a {@link WifiP2pInfo} object. Another extra {@link #EXTRA_NETWORK_INFO} provides
     * the network info in the form of a {@link android.net.NetworkInfo}. A third extra provides
     * the details of the group.
     * the details of the group and may contain a {@code null}.
     *
     * All of these permissions are required to receive this broadcast:
     * {@link android.Manifest.permission#ACCESS_FINE_LOCATION} and