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

Commit d1ebd798 authored by Jimmy Chen's avatar Jimmy Chen
Browse files

p2p: rename the annotation to match the API names.

Bug: 126613584
Test: Unit tests - atest FrameworksWifiTests
Test: Unit tests - atest FrameworksWifiApiTests
Change-Id: I3674fd5b75d237c51e19a18b6572341c5e9841f7
parent bfe3cecf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ public class WifiP2pConfig implements Parcelable {
        GROUP_OWNER_BAND_5GHZ
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface GroupOwnerBandType {}
    public @interface GroupOperatingBandType {}

    /**
     * Recognized Group Owner required band.
@@ -333,7 +333,7 @@ public class WifiP2pConfig implements Parcelable {
         * @return The builder to facilitate chaining
         *         {@code builder.setXXX(..).setXXX(..)}.
         */
        public @NonNull Builder setGroupOperatingBand(@GroupOwnerBandType int band) {
        public @NonNull Builder setGroupOperatingBand(@GroupOperatingBandType int band) {
            switch (band) {
                case GROUP_OWNER_BAND_AUTO:
                case GROUP_OWNER_BAND_2GHZ: