Merge "Fix write wifi config to nfc." into oc-dev am: 6889ac21ab

am: ad47cd05c7

Change-Id: I17cde24b9367d0fa0fec8347856636f28d839f09
This commit is contained in:
Amin Shaikh
2017-03-31 00:05:46 +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;