Split out the ipsec API surface and use framework-connectivity-tiramisu
(cherry picked from commit 131a866384)
Bug: 204153604
Test: TH
Change-Id: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca
Merged-In: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca
This commit is contained in:
committed by
Lorenzo Colitti
parent
340aa33c2c
commit
83400b6b3b
@@ -48,5 +48,14 @@ public final class ConnectivityFrameworkInitializerTiramisu {
|
||||
return new NsdManager(context, service);
|
||||
}
|
||||
);
|
||||
|
||||
SystemServiceRegistry.registerContextAwareService(
|
||||
Context.IPSEC_SERVICE,
|
||||
IpSecManager.class,
|
||||
(context, serviceBinder) -> {
|
||||
IIpSecService service = IIpSecService.Stub.asInterface(serviceBinder);
|
||||
return new IpSecManager(context, service);
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user