diff options
| author | Aaron Huang <huangaaron@google.com> | 2022-01-12 15:11:01 +0800 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2022-02-10 19:01:00 +0900 |
| commit | 83400b6b3b393f811d1fe269f346603e08c21002 (patch) | |
| tree | e0ec35ef2a2df0c7110afab97490869c3baa5c5b /framework-t/src | |
| parent | 340aa33c2c96fa56599c34c64f18a18840f4df86 (diff) | |
Split out the ipsec API surface and use framework-connectivity-tiramisu
(cherry picked from commit 131a8663843fced7b44234bddc93759e56c29344)
Bug: 204153604
Test: TH
Change-Id: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca
Merged-In: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca
Diffstat (limited to 'framework-t/src')
| -rw-r--r-- | framework-t/src/android/net/ConnectivityFrameworkInitializerTiramisu.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/framework-t/src/android/net/ConnectivityFrameworkInitializerTiramisu.java b/framework-t/src/android/net/ConnectivityFrameworkInitializerTiramisu.java index 630f902ecf..577ac54666 100644 --- a/framework-t/src/android/net/ConnectivityFrameworkInitializerTiramisu.java +++ b/framework-t/src/android/net/ConnectivityFrameworkInitializerTiramisu.java @@ -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); + } + ); } } |
