diff options
author | Jeremy Joslin <jjoslin@google.com> | 2015-02-12 18:40:23 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-12 18:40:23 +0000 |
commit | 1f960247cd159080d9315232efe0d626f7e69a7b (patch) | |
tree | c1d30e5fc587d1dfad4cbeb18e8bb98988d63b85 /core | |
parent | 128b21ec5071cff1c08b270066747638174d3822 (diff) | |
parent | 20be0e25ba660a7555577988cefcfa36d84e7e2f (diff) | |
download | frameworks_base-1f960247cd159080d9315232efe0d626f7e69a7b.zip frameworks_base-1f960247cd159080d9315232efe0d626f7e69a7b.tar.gz frameworks_base-1f960247cd159080d9315232efe0d626f7e69a7b.tar.bz2 |
am 20be0e25: Merge "Update Javadoc for EXTRA_NETWORK." into lmp-mr1-dev
* commit '20be0e25ba660a7555577988cefcfa36d84e7e2f':
Update Javadoc for EXTRA_NETWORK.
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/net/ConnectivityManager.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/net/ConnectivityManager.java b/core/java/android/net/ConnectivityManager.java index cdc8661..eb2df0b 100644 --- a/core/java/android/net/ConnectivityManager.java +++ b/core/java/android/net/ConnectivityManager.java @@ -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"; |