Merge "Fix write wifi config to nfc." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6889ac21ab
@@ -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