Update Javadoc for EXTRA_NETWORK.

Bug: 19352840
Change-Id: Ib668bee0fb2c6f5bcd01a7908ebd20b9ec8a40ef
This commit is contained in:
Jeremy Joslin
2015-02-11 16:51:13 -08:00
parent 489eb043d7
commit c53026391a

View File

@@ -2369,6 +2369,10 @@ public class ConnectivityManager {
* The lookup key for a {@link Network} object included with the intent after
* successfully finding a network for the applications request. Retrieve it with
* {@link android.content.Intent#getParcelableExtra(String)}.
* <p>
* Note that if you intend to invoke (@link #setProcessDefaultNetwork(Network)) or
* {@link Network#openConnection(java.net.URL)} then you must get a
* ConnectivityManager instance before doing so.
*/
public static final String EXTRA_NETWORK = "android.net.extra.NETWORK";