summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Aaron Huang <huangaaron@google.com> 2021-11-29 16:31:32 +0800
committer Aaron Huang <huangaaron@google.com> 2021-12-15 19:29:00 +0800
commit7d17a103c8f04020e60df58ee5e4ac0db77c8b23 (patch)
tree8232b633ec994823b6fb41ebe57dc882243f761d /api/api.go
parent033ccab2a02d7a0884f2de95705cb514ece2b27a (diff)
Remove NetdService usage from IpSecService
IpSecService is going to be moved into ConnectivityService module. So, NetdService won't be visible to IpSecService since it is a hidden class. NetdService.get(timeout) is a method that blocks for specified time until INetd instance is available. In SystemServer IpSecService is created after NetworkManagementService and NMS uses NetdService.get() to get INetd instance which is a method that blocks until an INetd instance is available. Thus, connectNativeNetdService can be removed because NMS already waits for INetd instance is available so IpSecService should be able to get INetd instance immediately. Bug: 204153604 Test: FrameworksNetTest Change-Id: I007cb28de63783d60084f93dddb4de78faa0e868
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions