Permalink
Browse files

Unhide SSLCertificateSocketFactory.setSoWriteTimeout

Bug: 6693087
Change-Id: I585c2a61226da58077fd7cd7826695ce17380248
  • Loading branch information...
1 parent b8c2ac3 commit 5e21bf934b2a71b595deb9856a2044eea4dbce86 @bdcgoogle bdcgoogle committed Sep 23, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −0 api/current.txt
  2. +1 −3 core/java/android/net/SSLCertificateSocketFactory.java
View
@@ -12750,6 +12750,7 @@ package android.net {
method public void setHostname(java.net.Socket, java.lang.String);
method public void setKeyManagers(javax.net.ssl.KeyManager[]);
method public void setNpnProtocols(byte[][]);
+ method public void setSoWriteTimeout(java.net.Socket, int) throws java.net.SocketException;
method public void setTrustManagers(javax.net.ssl.TrustManager[]);
method public void setUseSessionTickets(java.net.Socket, boolean);
}
@@ -348,10 +348,8 @@ public void setHostname(Socket socket, String hostName) {
* To take effect, this option must be set before the blocking method was called.
*
* @param socket a socket created by this factory.
- * @param timeout the desired write timeout in milliseconds.
+ * @param writeTimeoutMilliseconds the desired write timeout in milliseconds.
* @throws IllegalArgumentException if the socket was not created by this factory.
- *
- * @hide
*/
public void setSoWriteTimeout(Socket socket, int writeTimeoutMilliseconds)
throws SocketException {

0 comments on commit 5e21bf9

Please sign in to comment.