Merge changes I6d5dd0a8,I106b3e4f

* changes:
  Use public API Network#getNetId() to get netid
  Remove unused import IConnectivityManager
This commit is contained in:
Lucas Lin
2021-03-25 10:49:35 +00:00
committed by Gerrit Code Review

View File

@@ -1651,7 +1651,7 @@ public class IpSecService extends IIpSecService.Stub {
c.getMode(),
c.getSourceAddress(),
c.getDestinationAddress(),
(c.getNetwork() != null) ? c.getNetwork().netId : 0,
(c.getNetwork() != null) ? c.getNetwork().getNetId() : 0,
spiRecord.getSpi(),
c.getMarkValue(),
c.getMarkMask(),