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

Commit cd3633fc authored by nharold's avatar nharold Committed by android-build-merger
Browse files

Merge "Launch NetD in a different thread" am: c721dce3

am: 709f3c1d

Change-Id: Id0a51ae3563a4956c4f81174883b43c64bdac892
parents 597556e1 709f3c1d
Loading
Loading
Loading
Loading
+8 −11
Original line number Diff line number Diff line
@@ -406,17 +406,14 @@ public class IpSecService extends IIpSecService.Stub {

    private void connectNativeNetdService() {
        // Avoid blocking the system server to do this
        Thread t =
                new Thread(
                        new Runnable() {
        new Thread() {
            @Override
            public void run() {
                synchronized (IpSecService.this) {
                    NetdService.get(NETD_FETCH_TIMEOUT);
                }
            }
                        });
        t.run();
        }.start();
    }

    INetd getNetdInstance() throws RemoteException {