OSDN Git Service

Merge changes from topic "Wi-Fi DPP error code handling"
authorTreeHugger Robot <treehugger-gerrit@google.com>
Wed, 20 Feb 2019 12:45:26 +0000 (12:45 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Wed, 20 Feb 2019 12:45:26 +0000 (12:45 +0000)
* changes:
  Fix camera stop forever after error occurs while sharing or adding network
  Handle different error codes in DPP

1  2 
res/values/strings.xml

diff --combined res/values/strings.xml
      <!-- Hint for the user to use another device to scan QR code on screen to join Wi-Fi [CHAR LIMIT=NONE] -->
      <string name="wifi_dpp_scan_qr_code_with_another_device">Scan this QR code with another device to join \u201c<xliff:g id="ssid" example="OfficeWifi">%1$s</xliff:g>\u201d</string>
      <!-- Hint for QR code detection [CHAR LIMIT=NONE]  -->
-     <string name="wifi_dpp_could_not_detect_valid_qr_code">Couldn\u2019t read QR code</string>
+     <string name="wifi_dpp_could_not_detect_valid_qr_code">Couldn\u2019t read QR code. Re-center code and try again</string>
+     <!-- Hint for Wi-Fi DPP handshake failure [CHAR LIMIT=NONE]  -->
+     <string name="wifi_dpp_failure_authentication_or_configuration">Try again. If the issue continues, contact the device manufacturer</string>
+     <!-- Hint for Wi-Fi DPP handshake failure [CHAR LIMIT=NONE]  -->
+     <string name="wifi_dpp_failure_not_compatible">Something went wrong</string>
+     <!-- Hint for Wi-Fi DPP handshake failure [CHAR LIMIT=NONE]  -->
+     <string name="wifi_dpp_failure_timeout">Make sure the device has been plugged in, charged, and turned on</string>
+     <!-- Hint for Wi-Fi DPP handshake failure [CHAR LIMIT=NONE]  -->
+     <string name="wifi_dpp_failure_generic">Make sure the device has been plugged in, charged, and turned on. If the issue continues, contact the device manufacturer</string>
+     <!-- Hint for Wi-Fi DPP handshake failure [CHAR LIMIT=NONE]  -->
+     <string name="wifi_dpp_failure_not_supported">Adding \u201c<xliff:g id="ssid" example="OfficeWifi">%1$s</xliff:g>\u201d isn\u2019t supported by this device</string>
+     <!-- Hint for Wi-Fi connection fail [CHAR LIMIT=NONE]  -->
+     <string name="wifi_dpp_check_connection_try_again">Check connection and try again</string>
      <!-- Title for the fragment choose network [CHAR LIMIT=50]  -->
      <string name="wifi_dpp_choose_network">Choose network</string>
      <!-- Hint for the user to center another device's QR code in the below camera window [CHAR LIMIT=NONE] -->
      <!-- Title of condition that do not disturb is on [CHAR LIMIT=36] -->
      <string name="condition_zen_title">Do Not Disturb is on</string>
  
 -    <!-- Summary of condition that do not disturb is on and all exceptions set to off [CHAR LIMIT=36] -->
 +    <!-- Summary of condition that do not disturb is on and all exceptions set to off [CHAR LIMIT=38] -->
      <string name="condition_zen_summary_phone_muted">Phone muted</string>
  
      <!-- Summary of condition that do not disturb is on and some exceptions are allowed [CHAR LIMIT=36] -->