summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Peter Qiu <zqiu@google.com> 2017-03-14 23:07:28 +0000
committer android-build-merger <android-build-merger@google.com> 2017-03-14 23:07:28 +0000
commit7a3fd84b1e2265b7112f34d2eec1c8d5fc704464 (patch)
tree583374884b2c48dc5253104f92f4168ffc69bc0e
parent6006d681ab8eb6977edb308c7a4a287b65d055a2 (diff)
parent6493f3df6ba418b21af7849f8b57de1e9ec9feba (diff)
Merge "hotspot2: update documentation for WifiManager#queryPasspointIcon"
am: 6493f3df6b Change-Id: I40fc13a08425f2ada7e648342db92d83c4d59cba
-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 bbe96a70f823..447cafb11fb1 100644
--- a/wifi/java/android/net/wifi/WifiManager.java
+++ b/wifi/java/android/net/wifi/WifiManager.java
@@ -971,10 +971,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 {