summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Ravi <sunilravi@google.com>2021-06-22 11:00:33 -0700
committerSunil Ravi <sunilravi@google.com>2021-06-23 22:28:06 +0000
commitd7ad4cd480a9472947108a182ad3e00614fb58a2 (patch)
tree7d481d77ce2bf86c8468521c9ea96287f0edb280
parent50992cee94f4c0426db375dbf0c8d8db46a8890a (diff)
downloadwifi-d7ad4cd480a9472947108a182ad3e00614fb58a2.tar.gz
Change the message in UI for NETWORK_NOT_FOUND event
NETWORK_NOT_FOUND event is sent for networks failing to connect due to, failed to find a network in supplicant scan result. This can happen due to two reasons, 1. Network is seen in supplicant scan result. But the network capabilities doesn't match with the network configuration sent by framework. 2. During connect, if supplicant scan cache is not recent enough (<5 seconds), it issues a scan. If the AP is far from device, this scan may fails to find the network. "Network not compatible with this device" message in UI will confuse the user especially when the network is not seen due to weak signal. So changed the message in UI to a generic string "Can't connect, try again later" Bug: 191061519 Test: Manual - Tried connecting to a reconfigured AP and verified that the "Can't connect. Try again later" message is displayed. Change-Id: Ief7aafb47346599eabf8076f3c73c78e6aa48fa8
-rw-r--r--libs/WifiTrackerLib/res/values/strings.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/WifiTrackerLib/res/values/strings.xml b/libs/WifiTrackerLib/res/values/strings.xml
index d5ec0dbd2..4b4741a6c 100644
--- a/libs/WifiTrackerLib/res/values/strings.xml
+++ b/libs/WifiTrackerLib/res/values/strings.xml
@@ -76,7 +76,7 @@
<!-- Summary for networks failing to connect due to failed to find a network in supplicant scan result
which matches the network requested by framework for connection (including network capabilities) [CHAR LIMIT=NONE] -->
- <string name="wifitrackerlib_wifi_network_not_found">Network not compatible with this device</string>
+ <string name="wifitrackerlib_wifi_network_not_found">Can\'t connect. Try again later.</string>
<!-- Summary for the disconnected network. [CHAR LIMIT=40] -->
<string name="wifitrackerlib_wifi_disconnected">Disconnected</string>