diff options
author | Vinit Deshpande <vinitd@google.com> | 2015-06-12 15:18:44 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2015-06-22 19:09:38 -0700 |
commit | a0d929e505432a8c84f3899696c910db16bd73bf (patch) | |
tree | 30315b7e6d7ac83572c11f4d2413796761966ca2 /wifi/java/android/net/wifi/WifiManager.java | |
parent | a2cbb3e632f46dda69fce264b29ed50c4f827ad3 (diff) | |
download | frameworks_base-a0d929e505432a8c84f3899696c910db16bd73bf.zip frameworks_base-a0d929e505432a8c84f3899696c910db16bd73bf.tar.gz frameworks_base-a0d929e505432a8c84f3899696c910db16bd73bf.tar.bz2 |
Address API review comments
Added a flags field in ScanResult; along with flag
values and methods to read them.
Changed types of passpoint related fields.
Bug: 21342042
Bug: 21572290
Bug: 21343777
Change-Id: I413960de88b387853d11b9e10f92665e9c06a81b
Diffstat (limited to 'wifi/java/android/net/wifi/WifiManager.java')
-rw-r--r-- | wifi/java/android/net/wifi/WifiManager.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 64fa0e5..d00c654 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -399,14 +399,16 @@ public class WifiManager { public static final int CHANGE_REASON_CONFIG_CHANGE = 2; /** * An access point scan has completed, and results are available from the supplicant. - * Call {@link #getScanResults()} to obtain the results. + * Call {@link #getScanResults()} to obtain the results. {@link #EXTRA_RESULTS_UPDATED} + * indicates if the scan was completed successfully. */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String SCAN_RESULTS_AVAILABLE_ACTION = "android.net.wifi.SCAN_RESULTS"; /** - * The result of previous scan, reported with {@link #SCAN_RESULTS_AVAILABLE_ACTION}. - * @return true scan was successful, results updated + * Lookup key for a {@code boolean} representing the result of previous {@link #startScan} + * operation, reported with {@link #SCAN_RESULTS_AVAILABLE_ACTION}. + * @return true scan was successful, results are updated * @return false scan was not successful, results haven't been updated since previous scan */ public static final String EXTRA_RESULTS_UPDATED = "resultsUpdated"; |