commit | 2b152feb1c574f30557581770d4f8c06c770ba34 | [log] [tgz] |
---|---|---|
author | Glen Kuhne <kuh@google.com> | Mon Mar 07 11:23:41 2016 -0800 |
committer | Glen Kuhne <kuh@google.com> | Mon Mar 07 11:32:05 2016 -0800 |
tree | 50ea13c3e5b7c2280b857f9e46dcca652b2575ab | |
parent | f5cc6a0c7ede374b33de1cf5156bf149e2e76c13 [diff] |
Fix WifiMetrics connection auth type Use ScanResult instead of WifiConfiguration to get the Auth type, as WifiConfiguration's allowedAuthAlgorithms is not valid at the beginning of a connection attempt. Also refactored metric getting from ScanResults and NetworkDetails into their own helper functions. BUG=25691077 Change-Id: I528a1c76204b5197815ad3836d743513f89bc9ca