Stop using LinkPropertiesParcelableUtil. am: 75f629ace7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/ethernet/+/15044794 Change-Id: I9d0522aa17c20045c144ca6212ad9e4e5eaaf6f1
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