From 1e13a6db467022597c45293e9a42529375f6f0f5 Mon Sep 17 00:00:00 2001 From: David Su Date: Mon, 11 Mar 2019 16:51:08 -0700 Subject: [PATCH] WifiManager: fix JavaDocs for SoftAP Start Failure JavaDocs are swapped for constants SAP_START_FAILURE_GENERAL and SAP_START_FAILURE_NO_CHANNEL. Unswapping them. Bug: 128333924 Test: compiles Change-Id: I03163fcaa238bd218b8d6f78d8123dfb3e31a04f --- wifi/java/android/net/wifi/WifiManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 6dd838cf4252b..4fdcd29100cb0 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -511,7 +511,7 @@ public class WifiManager { /** * The look up key for an int that indicates why softAP started failed * currently support general and no_channel - * @see #SAP_START_FAILURE_GENERIC + * @see #SAP_START_FAILURE_GENERAL * @see #SAP_START_FAILURE_NO_CHANNEL * * @hide @@ -615,15 +615,15 @@ public class WifiManager { public @interface SapStartFailure {} /** - * If WIFI AP start failed, this reason code means there is no legal channel exists on - * user selected band by regulatory + * All other reasons for AP start failure besides {@link #SAP_START_FAILURE_NO_CHANNEL}. * * @hide */ public static final int SAP_START_FAILURE_GENERAL= 0; /** - * All other reason for AP start failed besides SAP_START_FAILURE_GENERAL + * If Wi-Fi AP start failed, this reason code means that no legal channel exists on user + * selected band due to regulatory constraints. * * @hide */