commit | 7e0fa3a55657dc52848a8bf1abb7b4fdcad659d7 | [log] [tgz] |
---|---|---|
author | Jeremy Joslin <jjoslin@google.com> | Tue Jan 31 08:06:23 2017 -0800 |
committer | Jeremy Joslin <jjoslin@google.com> | Tue Jan 31 08:06:23 2017 -0800 |
tree | f1019f9e4dd7865677768513b7482efbb6827508 | |
parent | 855a83a6289470f52da2fab10e53b0f7f26a7553 [diff] |
Lookup the recommended config to check if it's saved. Instead of comparing the recommended config's networkId to WifiConfiguration.INVALID_NETWORK_ID to determine if the config represents a saved config actually look up the config using its matching ScanDetail. Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Bug: 34808853 Change-Id: I74c4e3ecd1a8d069f69d38d6a8a539588d11ec7c