commit | dbbf07487d4a7df13ee4f3a496eb866ce9fe31c8 | [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 | ea1e2ab6b4aae726c1c92975e67b9ee2126b28a4 | |
parent | 01c9dd2efde2b0411b949b0d0dc07a12acc4d169 [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