p2p: add javadoc for the group owner band constants

Bug: 126614268
Test: Unit tests - atest FrameworksWifiTests
Test: Unit tests - atest FrameworksWifiApiTests
Change-Id: Ibe129f2eaf9b9fe158cac2a32f3d9d397c5af22c
This commit is contained in:
Jimmy Chen
2019-03-04 15:43:10 +08:00
parent fa81e58535
commit f1ef098ed9

View File

@@ -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;
/**