summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Peter Qiu <zqiu@google.com> 2017-03-06 09:55:41 -0800
committer Peter Qiu <zqiu@google.com> 2017-03-06 09:55:41 -0800
commit16034c69033cbb5d973bb10a6bc265de0d03060d (patch)
tree4f71f428ed5c64d3f7064f0f9cecb2a01e18f47d
parent704520c39290252e2589674afe195affa5c53d94 (diff)
hotspot2: update documentation for WifiManager#queryPasspointIcon
Address API Councils comment on documentation for WifiManager#queryPasspointIcon. Bug: 35845899 Test: None Change-Id: Ia8fe0f8203482f8b8f410081f06b580e8fdbac46
-rw-r--r--wifi/java/android/net/wifi/WifiManager.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java
index ed6a166d3fc6..854cac2dc26d 100644
--- a/wifi/java/android/net/wifi/WifiManager.java
+++ b/wifi/java/android/net/wifi/WifiManager.java
@@ -1013,10 +1013,13 @@ public class WifiManager {
}
/**
- * Query for a Hotspot 2.0 release 2 OSU icon file.
+ * Query for a Hotspot 2.0 release 2 OSU icon file. An {@link #ACTION_PASSPOINT_ICON} intent
+ * will be broadcasted once the request is completed. The return value of
+ * {@link IconInfo#getData} from the intent extra will indicate the result of the request.
+ * A value of {@code null} will indicate a failure.
*
* @param bssid The BSSID of the AP
- * @param fileName File name of the icon to query
+ * @param fileName Name of the icon file (remote file) to query from the AP
*/
public void queryPasspointIcon(long bssid, String fileName) {
try {