From f1ef098ed9c4fa5cd61e54bf10dc580abadfd90a Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Mon, 4 Mar 2019 15:43:10 +0800 Subject: [PATCH] p2p: add javadoc for the group owner band constants Bug: 126614268 Test: Unit tests - atest FrameworksWifiTests Test: Unit tests - atest FrameworksWifiApiTests Change-Id: Ibe129f2eaf9b9fe158cac2a32f3d9d397c5af22c --- wifi/java/android/net/wifi/p2p/WifiP2pConfig.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wifi/java/android/net/wifi/p2p/WifiP2pConfig.java b/wifi/java/android/net/wifi/p2p/WifiP2pConfig.java index 9823a2d183bb4..6c1b0738ff4cb 100644 --- a/wifi/java/android/net/wifi/p2p/WifiP2pConfig.java +++ b/wifi/java/android/net/wifi/p2p/WifiP2pConfig.java @@ -81,10 +81,16 @@ public class WifiP2pConfig implements Parcelable { public @interface GroupOperatingBandType {} /** - * Recognized Group Owner required band. + * Allow the system to pick the operating frequency from all supported bands. */ public static final int GROUP_OWNER_BAND_AUTO = 0; + /** + * Allow the system to pick the operating frequency from the 2.4 GHz band. + */ public static final int GROUP_OWNER_BAND_2GHZ = 1; + /** + * Allow the system to pick the operating frequency from the 5 GHz band. + */ public static final int GROUP_OWNER_BAND_5GHZ = 2; /**