Track moving of OkHttp facade API to new package.
Another CL in this topic moves the classes from libcore.net.http to com.squareup.okhttp.internalandroidapi. In jarjar'ed build targets, this becomes com.android.okhttp.internalandroidapi. This facade constitutes the API via which non-libcore parts of the Android platform (currently framework) may access OkHttp. It's moving because libcore.net.http is already part of libcore, and the overlap of packages is problematic for builds with EXPERIMENTAL_USE_OPENJDK9 set to true. Bug: 68220880 Test: Treehugger Change-Id: Ia79966563cc0b5ab0923d54c21e54b6192d8c990 Exempt-From-Owner-Approval: Jeff Sharkey is an owner, but only one of his accounts is listed as an owner (@android.com vs. @google.com)
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
|
||||
package android.net;
|
||||
|
||||
import android.os.Parcelable;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.system.ErrnoException;
|
||||
import android.system.Os;
|
||||
import android.system.OsConstants;
|
||||
|
||||
import libcore.net.http.Dns;
|
||||
import libcore.net.http.HttpURLConnectionFactory;
|
||||
import com.android.okhttp.internalandroidapi.Dns;
|
||||
import com.android.okhttp.internalandroidapi.HttpURLConnectionFactory;
|
||||
|
||||
import java.io.FileDescriptor;
|
||||
import java.io.IOException;
|
||||
@@ -34,11 +34,12 @@ import java.net.MalformedURLException;
|
||||
import java.net.Socket;
|
||||
import java.net.SocketAddress;
|
||||
import java.net.SocketException;
|
||||
import java.net.UnknownHostException;
|
||||
import java.net.URL;
|
||||
import java.net.URLConnection;
|
||||
import java.net.UnknownHostException;
|
||||
import java.util.Arrays;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import javax.net.SocketFactory;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user