Merge "Update Javadoc for EXTRA_NETWORK." into lmp-mr1-dev

This commit is contained in:
Jeremy Joslin 2015-02-12 18:34:01 +00:00 • committed by Android (Google) Code Review
commit d4d604e238

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";