commit | aaba13594c7b375148a5c1e819a7f303f324d8f6 | [log] [tgz] |
---|---|---|
author | xshu <xshu@google.com> | Tue Mar 27 15:14:57 2018 -0700 |
committer | xshu <xshu@google.com> | Fri Mar 30 17:49:38 2018 -0700 |
tree | 60a15a393a7f1f803b78b14a7d2af2053435a9f9 | |
parent | 7f2ad1138dd909072afc14af1e1283b3d8eaa7bd [diff] |
Refactor canAccessScanResult WifiPermissionUtil.canAccessScanResults is now void. Where it would return false before it now throws a SecurityException. Also fixed an existing test that is passing for the wrong reason. The test should be checking for a failure, but the CAN_READ_PEER_MAC_ADDRESS permission made it pass. Bug: 73160471 Test: compile, run ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If32a546ee646e6c8e786a23c017c86f33be7e304