Use VCN policy listener in DataConnection.
This CL updates DataConnection to incorporate VCN-defined underlying Network policies into the NetworkCapabilities used by created DcNetworkAgents. This will route all NetworkCapabilities updates for a DcNetworkAgent instance through VcnManager so that VCN-managed Networks will show the correct NetworkCapabilities. Additionally, a VcnUnderlyingNetworkPolicyListener is registered for each DataConnection when in the DcActiveState. This ensures that DataConnections are notified when a VCN encounters an underlying Network policy change, at which point each DataConnection can poll VcnManager to determine its current underlying Network policy. Bug: 175900686 Test: atest FrameworksTelephonyTests Change-Id: I0da71b9e25e3271abb69a26ea63c8916fbd616d0 Merged-In: I0da71b9e25e3271abb69a26ea63c8916fbd616d0
Loading
Please register or sign in to comment