Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfa09415 authored by Amin Shaikh's avatar Amin Shaikh Committed by android-build-merger
Browse files

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

am: ad47cd05

Change-Id: I17cde24b9367d0fa0fec8347856636f28d839f09
parents 82d5f1b8 ad47cd05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;