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

Commit 085889e3 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "WifiP2pWfdInfo set device type bugfix"

parents 708da446 8b3b8100
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ public class WifiP2pWfdInfo implements Parcelable {

    public boolean setDeviceType(int deviceType) {
        if (deviceType >= WFD_SOURCE && deviceType <= SOURCE_OR_PRIMARY_SINK) {
            mDeviceInfo &= ~DEVICE_TYPE;
            mDeviceInfo |= deviceType;
            return true;
        }