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

Commit 400ec1b9 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 085889e3: Merge "WifiP2pWfdInfo set device type bugfix"

* commit '085889e3':
  WifiP2pWfdInfo set device type bugfix
parents 72d3cef8 085889e3
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;
        }