diff options
author | Roshan Pius <rpius@google.com> | 2019-01-24 09:21:31 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-01-25 12:28:41 -0800 |
commit | d7bded006fe5c923f6e4b9df60f54fa2bcba230c (patch) | |
tree | b5b8842278980fe93db9abd6608de1043064e79e /service/java/com/android/server/wifi/WifiNetworkFactory.java | |
parent | c4887cabfcaa05b560fbc95ee67bfa2c3236bb2a (diff) | |
download | android_frameworks_opt_net_wifi-d7bded006fe5c923f6e4b9df60f54fa2bcba230c.tar.gz android_frameworks_opt_net_wifi-d7bded006fe5c923f6e4b9df60f54fa2bcba230c.tar.bz2 android_frameworks_opt_net_wifi-d7bded006fe5c923f6e4b9df60f54fa2bcba230c.zip |
NetworkSuggestionEvaluator: Don't connect to user deleted networks
The "forget" button in the wifi picker for the connected network invokes
WifiManager.disableEphemeralNetwork() for ephemeral networks. This was
previously used as a blacklist for the ScoredNetworkEvaluator (Wifi
Assistant). Use the same blacklist for suggestions as well, since
suggestions are also ephemeral networks in nature
If the user didn't like a network, it's likely they don't want to
connect to it regardless of who is recommending it.
Note: There are some improvements planned regarding ephemeral
network blacklist tracked by b/123360912.
Bug: 122621582
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: Aded a new acts test for the scenario.
act.py -c wifi_manager.config -tb dut-name -tc WifiNetworkRequestTest
Change-Id: Id22d473b02c87c14d94e62bfd293e5f202dab71a
Diffstat (limited to 'service/java/com/android/server/wifi/WifiNetworkFactory.java')
0 files changed, 0 insertions, 0 deletions