Merge "Fix write wifi config to nfc." into oc-dev am: 6889ac21ab
am: ad47cd05c7
Change-Id: I17cde24b9367d0fa0fec8347856636f28d839f09
This commit is contained in:
@@ -137,7 +137,7 @@ class WriteWifiConfigToNfcDialog extends AlertDialog
|
|||||||
? Integer.toString(password.length(), HEX_RADIX)
|
? Integer.toString(password.length(), HEX_RADIX)
|
||||||
: "0" + Character.forDigit(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)) {
|
if (wpsNfcConfigurationToken != null && wpsNfcConfigurationToken.contains(passwordHex)) {
|
||||||
mWpsNfcConfigurationToken = wpsNfcConfigurationToken;
|
mWpsNfcConfigurationToken = wpsNfcConfigurationToken;
|
||||||
|
Reference in New Issue
Block a user