commit | 9dfbe3c008fdeff78ae06d49af3cb35f930efc8a | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Fri Feb 08 09:29:48 2019 -0800 |
committer | Roshan Pius <rpius@google.com> | Mon Feb 11 12:48:12 2019 -0800 |
tree | b1dd1b04ec7ede0c5a37860a60e11e90050d761c | |
parent | 4be6447f5affbde10d240a89e96516ff31e9835e [diff] |
WifiServiceImpl: Mask networkId in WifiInfo if needed WifiInfo.getNetworkId() when used in conjunction with data retrieved from WifiManager.getConfiguredNetworks() can end up revealing location. So, enforce location permission on apps for the networkId field as well. Bug: 124080065 Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I42d9361acb8390fc0828fa998c9a2d502937f31a