summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-02-14 21:38:01 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-02-14 21:38:02 +0000
commitae449e6105dd7ce431f3b5a03956685352c4e786 (patch)
treeb2368779caee58c88b8a34c9460b2671e3d56892 /service
parent59723d40e65c1ec8987b137c717c4cb6d4a9685c (diff)
parent83b8a3d25eb4991277d8ec3720bc1f3d821166b6 (diff)
Merge "hotspot2: check access permission before querying Passpoint icon file"
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiServiceImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiServiceImpl.java b/service/java/com/android/server/wifi/WifiServiceImpl.java
index 6e591ddd5..9a5d4ba7c 100644
--- a/service/java/com/android/server/wifi/WifiServiceImpl.java
+++ b/service/java/com/android/server/wifi/WifiServiceImpl.java
@@ -1115,6 +1115,7 @@ public class WifiServiceImpl extends IWifiManager.Stub {
*/
@Override
public void queryPasspointIcon(long bssid, String fileName) {
+ enforceAccessPermission();
mLog.trace("queryPasspointIcon uid=%").c(Binder.getCallingUid()).flush();
mWifiStateMachine.syncQueryPasspointIcon(mWifiStateMachineChannel, bssid, fileName);
}