Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8af2746f authored by Cody Kesting's avatar Cody Kesting
Browse files

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
parent 4aece627
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment