diff options
| author | Sreeram Ramachandran <sreeram@google.com> | 2014-12-03 21:51:05 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-12-03 21:51:05 +0000 |
| commit | 16d75742fc59e83d8ac95f900651d3d1a28dc1f5 (patch) | |
| tree | 31d5a3b1c6c5b82299f26367e7c0c99f30093590 /core/java/android | |
| parent | 64d3c1402aa6abfc9772e8c93a7f0a5b9a9c6c9d (diff) | |
| parent | 3a8fbb8072f564c6da9b7655c1c90b26670d2f12 (diff) | |
| download | frameworks_base-16d75742fc59e83d8ac95f900651d3d1a28dc1f5.zip frameworks_base-16d75742fc59e83d8ac95f900651d3d1a28dc1f5.tar.gz frameworks_base-16d75742fc59e83d8ac95f900651d3d1a28dc1f5.tar.bz2 | |
am 3a8fbb80: am 95e4474c: am 932c3321: Merge "Fix docs per API review." into lmp-mr1-dev
* commit '3a8fbb8072f564c6da9b7655c1c90b26670d2f12':
Fix docs per API review.
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/net/VpnService.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/java/android/net/VpnService.java b/core/java/android/net/VpnService.java index 78b9c18..f6b6978 100644 --- a/core/java/android/net/VpnService.java +++ b/core/java/android/net/VpnService.java @@ -291,16 +291,16 @@ public class VpnService extends Service { /** * Sets the underlying networks used by the VPN for its upstream connections. * - * Used by the system to know the actual networks that carry traffic for apps affected by this - * VPN in order to present this information to the user (e.g., via status bar icons). + * <p>Used by the system to know the actual networks that carry traffic for apps affected by + * this VPN in order to present this information to the user (e.g., via status bar icons). * - * This method only needs to be called if the VPN has explicitly bound its underlying + * <p>This method only needs to be called if the VPN has explicitly bound its underlying * communications channels — such as the socket(s) passed to {@link #protect(int)} — * to a {@code Network} using APIs such as {@link Network#bindSocket(Socket)} or * {@link Network#bindSocket(DatagramSocket)}. The VPN should call this method every time * the set of {@code Network}s it is using changes. * - * {@code networks} is one of the following: + * <p>{@code networks} is one of the following: * <ul> * <li><strong>a non-empty array</strong>: an array of one or more {@link Network}s, in * decreasing preference order. For example, if this VPN uses both wifi and mobile (cellular) @@ -310,11 +310,11 @@ public class VpnService extends Service { * underlying network connection, and thus, app traffic will not be sent or received.</li> * <li><strong>null</strong>: (default) signifies that the VPN uses whatever is the system's * default network. I.e., it doesn't use the {@code bindSocket} or {@code bindDatagramSocket} - * APIs mentioned above to send traffic over specific channels. + * APIs mentioned above to send traffic over specific channels.</li> * </ul> * - * This call will succeed only if the VPN is currently established. For setting this value when - * the VPN has not yet been established, see {@link Builder#setUnderlyingNetworks}. + * <p>This call will succeed only if the VPN is currently established. For setting this value + * when the VPN has not yet been established, see {@link Builder#setUnderlyingNetworks}. * * @param networks An array of networks the VPN uses to tunnel traffic to/from its servers. * |
