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

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

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

am: cd3633fc

Change-Id: Ifaaa918e1ade21609ef1615d9315c44d89a23a6d
parents 05ce47aa cd3633fc
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 {