Stop using LinkPropertiesParcelableUtil.

Its methods are all no-ops. Stop using them.

Test: m
Bug: 151052811
Original-Change: https://android-review.googlesource.com/1733473
Merged-In: Iace3ba898bec2940ec3c3323c5bf8a13627d545f
Change-Id: Iace3ba898bec2940ec3c3323c5bf8a13627d545f
This commit is contained in:
Lorenzo Colitti
2021-06-21 10:34:48 +00:00
parent f2dd9de6ea
commit 007d976b7c

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