WifiConfiguration: Update psk documentation

Adding some documentation to explain the expected contents of this
field.

Bug: 35967623
Test: make update-api
Change-Id: Ia28e2c79834c4d7b0de7350c18d5f32633e6309d
This commit is contained in:
Roshan Pius
2017-03-16 10:59:58 -07:00
parent 58277fab89
commit a3406db72c

View File

@@ -281,7 +281,9 @@ public class WifiConfiguration implements Parcelable {
public int apChannel = 0;
/**
* Pre-shared key for use with WPA-PSK.
* Pre-shared key for use with WPA-PSK. Either an ASCII string enclosed in
* double quotation marks (e.g., {@code "abcdefghij"} for PSK passphrase or
* a string of 64 hex digits for raw PSK.
* <p/>
* When the value of this key is read, the actual key is
* not returned, just a "*" if the key has a value, or the null