diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-02-14 21:38:01 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-02-14 21:38:02 +0000 |
commit | ae449e6105dd7ce431f3b5a03956685352c4e786 (patch) | |
tree | b2368779caee58c88b8a34c9460b2671e3d56892 /service | |
parent | 59723d40e65c1ec8987b137c717c4cb6d4a9685c (diff) | |
parent | 83b8a3d25eb4991277d8ec3720bc1f3d821166b6 (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.java | 1 |
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); } |