Update comments for security type in AccessPoint

There are no resources in array.xml that references the security or
PSK field, so updating the comments to match.
There is also no need to keep the list sorted -- new values should be
added to the end and any string-array resource values can be added to
the end accordingly.

Test: None
Change-Id: I85e7de9c9f08468f6aaeaa9af1482e304a501a76
This commit is contained in:
Maurice Lam
2018-11-13 13:52:50 -08:00
parent cfe1988c81
commit 7cdbe199fd

View File

@@ -154,8 +154,10 @@ public class AccessPoint implements Comparable<AccessPoint> {
static final String KEY_CARRIER_NAME = "key_carrier_name";
static final AtomicInteger sLastId = new AtomicInteger(0);
/**
* These values are matched in string arrays -- changes must be kept in sync
/*
* NOTE: These constants for security and PSK types are saved to the bundle in saveWifiState,
* and sent across IPC. The numeric values should remain stable, otherwise the changes will need
* to be synced with other unbundled users of this library.
*/
public static final int SECURITY_NONE = 0;
public static final int SECURITY_WEP = 1;