Skip to content
Commit 678bbc44 authored by Paul Jensen's avatar Paul Jensen Committed by Chromium LUCI CQ
Browse files

Fix NetworkChangeNotifier on Android to know underlying type of VPN

Fix AndroidRDefaultNetworkCallback.getNetworkState() to return the type
of the network underlying the VPN rather than TYPE_VPN.
getConnectionType(Network) already was able to find the type of the
network underlying the VPN; this change moves this code into
getNetworkInfo(Network) and calls this new method from
getNetworkState(WifiManagerDelegate) and
AndroidRDefaultNetworkCallback.getNetworkState().

Bug: 1208022, 1221052
Change-Id: Ie32aa31f9fc8b0a92b59a27114550c14283f2c90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2976286


Auto-Submit: Paul Jensen <pauljensen@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#896457}
parent daad28c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment