Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 670e562a authored by David Su's avatar David Su
Browse files

Add @IntDef to WifiP2pConfig#getGroupOwnerBand()

Bug: 147668001
Test: compiles
Change-Id: I6aeb8a29d9e9fddfb2d909fc6fe92fef2276eb48
parent 0a8400ec
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -66,12 +66,20 @@ public class WifiP2pConfig implements Parcelable {
    /** @hide */
    public String passphrase = "";

    /** Get the required band for the group owner. */
    /**
     * Get the required band for the group owner.
     * The result will be one of the following:
     * {@link #GROUP_OWNER_BAND_AUTO},
     * {@link #GROUP_OWNER_BAND_2GHZ},
     * {@link #GROUP_OWNER_BAND_5GHZ}
     */
    @GroupOperatingBandType
    public int getGroupOwnerBand() {
        return groupOwnerBand;
    }

    /** @hide */
    @GroupOperatingBandType
    public int groupOwnerBand = GROUP_OWNER_BAND_AUTO;

    /** @hide */