summaryrefslogtreecommitdiffstats
path: root/services/core/Android.mk
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-02-05 13:57:17 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-02-11 10:21:01 +0900
commitd6a7980dd9a52f082091cf000095b77a9d44565d (patch)
treed6a4bafd7fa7aa4c85fce825cfb016b75517d182 /services/core/Android.mk
parent3bb5fdc7e607febaad3bd41ed7a36b596b7286af (diff)
downloadframeworks_base-d6a7980dd9a52f082091cf000095b77a9d44565d.zip
frameworks_base-d6a7980dd9a52f082091cf000095b77a9d44565d.tar.gz
frameworks_base-d6a7980dd9a52f082091cf000095b77a9d44565d.tar.bz2
Make getNetworkInfo() take into account VPN underlying networks.
If a user is subject to a VPN, getActiveNetworkInfo() will return the VPN's underlying network (e.g., TYPE_WIFI), so that apps that call getActiveNetworkInfo to answer questions like "is the device connected to wifi?" will continue to work. Make getNetworkInfo do this as well: if the query is for a network type that is underlying the current user's VPN, then return that network. Bug: 19196545 Change-Id: Ic5a651735b927c758594a26d26a03fbd704b52e6
Diffstat (limited to 'services/core/Android.mk')
0 files changed, 0 insertions, 0 deletions