diff options
author | Jeff Davidson <jpd@google.com> | 2014-11-03 18:47:28 -0800 |
---|---|---|
committer | Jeff Davidson <jpd@google.com> | 2014-11-05 15:04:14 -0800 |
commit | b46a9194fe88a26e80d415919d191703c340925e (patch) | |
tree | d4e1d4d87217095c6a04a444ba96f67f27046c18 /res | |
parent | 815c61d729715e6d7a19fbf4f039d59d0dddc265 (diff) | |
download | packages_apps_Settings-b46a9194fe88a26e80d415919d191703c340925e.zip packages_apps_Settings-b46a9194fe88a26e80d415919d191703c340925e.tar.gz packages_apps_Settings-b46a9194fe88a26e80d415919d191703c340925e.tar.bz2 |
Show accurate connection status for ephemeral networks.
Configurations for these networks are not returned in
getConfiguredNetworks() and likely shouldn't be as clients of this API
would not expect them. (Note also that the ephemeral bit is marked
@hide). But the framework may connect to them regardless.
In these cases, as long as the connection status is something other
than the coarse-level DISCONNECTED, we show the status to be an
accurate representation of Wi-Fi state. (To make this possible, we
pass around the full NetworkInfo instead of just the DetailedState,
allowing us to get the coarse state where needed).
When long pressing on a non-DISCONNECTED ephemeral network, we offer
the ability to save the configuration. (Note that this flow is
currently broken and being tracked by another bug, but the behavior is
consistent with what happens when you simply click on the SSID).
Bug: 18205278
Change-Id: I30592c89546068c796f458a86bb26eb3b28c64df
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 25bacb3..fbf37ab 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1505,6 +1505,8 @@ <string name="wifi_menu_advanced">Advanced</string> <!-- Menu option to connect to a Wi-Fi network --> <string name="wifi_menu_connect">Connect to network</string> + <!-- Menu option to remember a temporary Wi-Fi network --> + <string name="wifi_menu_remember">Remember network</string> <!-- Menu option to delete a Wi-Fi network --> <string name="wifi_menu_forget">Forget network</string> <!-- Menu option to modify a Wi-Fi network configuration --> |