Request location info in UnderlyingNetworkListener
This change ensures that the UnderlyingNetworkListener receives location-sensitive fields in order to proxy the location sensitive fields in the VcnTransportInfo Bug: 192587440 Test: manual tests Test: atest FrameworksVcnTests Change-Id: Id42ae2e373d909424c3f213412ea4731ee01fa2b
This commit is contained in:
@@ -460,6 +460,10 @@ public class UnderlyingNetworkTracker {
|
||||
private final Map<Network, UnderlyingNetworkRecord.Builder>
|
||||
mUnderlyingNetworkRecordBuilders = new ArrayMap<>();
|
||||
|
||||
UnderlyingNetworkListener() {
|
||||
super(NetworkCallback.FLAG_INCLUDE_LOCATION_INFO);
|
||||
}
|
||||
|
||||
private TreeSet<UnderlyingNetworkRecord> getSortedUnderlyingNetworks() {
|
||||
TreeSet<UnderlyingNetworkRecord> sorted =
|
||||
new TreeSet<>(
|
||||
|
||||
Reference in New Issue
Block a user