Merge "Stop using LinkPropertiesParcelableUtil." am: 0b58e409a1 am: a04fb395b6
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ethernet/+/1733473 Change-Id: I51829f89466e518712f117675eef40792577ece3
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
package com.android.server.ethernet;
|
||||
|
||||
import static android.net.shared.LinkPropertiesParcelableUtil.toStableParcelable;
|
||||
|
||||
import static com.android.internal.util.Preconditions.checkNotNull;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
@@ -560,7 +558,7 @@ public class EthernetNetworkFactory extends NetworkFactory {
|
||||
if (config.getProxySettings() == ProxySettings.STATIC ||
|
||||
config.getProxySettings() == ProxySettings.PAC) {
|
||||
try {
|
||||
ipClient.setHttpProxy(toStableParcelable(config.getHttpProxy()));
|
||||
ipClient.setHttpProxy(config.getHttpProxy());
|
||||
} catch (RemoteException e) {
|
||||
e.rethrowFromSystemServer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user