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

am: 6889ac21ab

Change-Id: I2e019122d85b00f700f64cb18c0a6d3f35709ac0
This commit is contained in:
Amin Shaikh
2017-03-31 00:03:48 +00:00
committed by android-build-merger

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;