Remove the usage of SystemProperties.set()

The usage of SystemProperties.set() in MockableSystemProperties
is either replaced by sysprop or removed. Thus, remove it to
suppport incoming ConnectivityService mainline.

Bug: 170917042
Test: m ; atest FrameworksNetTests
Change-Id: I99b3f200985c43e9338d828bd5b6bee323d61579
This commit is contained in:
Chiachang Wang
2020-10-20 19:26:48 +08:00
parent 39c509f8b3
commit 92b4cd1267

View File

@@ -38,9 +38,4 @@ public class MockableSystemProperties {
public void setTcpInitRwnd(int value) {
NetworkProperties.tcp_init_rwnd(value);
}
// TODO(b/33308258): SystemProperties.set() will not be accessible if ConnectivityService
// becomes a mainline module. Remove it and replace the usage after removing net.dns*.
public void set(String key, String value) {
SystemProperties.set(key, value);
}
}