Yet another bug coming from AOSP: in NfcUtils#parseCredential, WifiConfiguration.preSharedKey should be null for OPEN networks, which is not the case here since this field is always initialized with "\"" + new String(networkKey) + "\"" (at least when NETWORK_KEY_FIELD_ID exists).
Yet another bug coming from AOSP: in NfcUtils#parseCredential,
WifiConfiguration.preSharedKey
should benull
for OPEN networks, which is not the case here since this field is always initialized with"\"" + new String(networkKey) + "\""
(at least whenNETWORK_KEY_FIELD_ID
exists).