Unhide Network.openConnection(URL, Proxy).
Spun off from https://partner-android-review.googlesource.com/#/c/205463/ for ease of review. Bug: 19416463 Change-Id: Ia37a53a350d55b5514b949242368dfe396f6b9a0
This commit is contained in:
@@ -275,7 +275,6 @@ public class Network implements Parcelable {
|
||||
* @throws IllegalArgumentException if the argument proxy is null.
|
||||
* @throws IOException if an error occurs while opening the connection.
|
||||
* @see java.net.URL#openConnection()
|
||||
* @hide
|
||||
*/
|
||||
public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException {
|
||||
if (proxy == null) throw new IllegalArgumentException("proxy is null");
|
||||
|
||||
Reference in New Issue
Block a user