Merge "Stop using LinkPropertiesParcelableUtil."

This commit is contained in:
Lorenzo Colitti
2021-06-21 09:54:29 +00:00
committed by Gerrit Code Review

View File

@@ -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();
}