Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92b4cd12 authored by Chiachang Wang's avatar Chiachang Wang
Browse files

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
parent 39c509f8
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);
    }
}