Merge "Fix write wifi config to nfc." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-03-30 23:59:33 +00:00
committed by Android (Google) Code Review

View File

@@ -137,7 +137,7 @@ class WriteWifiConfigToNfcDialog extends AlertDialog
? Integer.toString(password.length(), HEX_RADIX)
: "0" + Character.forDigit(password.length(), HEX_RADIX);
passwordHex = String.format(PASSWORD_FORMAT, passwordLength, passwordHex).toUpperCase();
passwordHex = String.format(PASSWORD_FORMAT, passwordLength, passwordHex).toLowerCase();
if (wpsNfcConfigurationToken != null && wpsNfcConfigurationToken.contains(passwordHex)) {
mWpsNfcConfigurationToken = wpsNfcConfigurationToken;