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

Commit 957fadc5 authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android (Google) Code Review
Browse files

Merge "Use min group owner intent for concurrency" into jb-mr1-dev

parents da6f7ab3 99766cf4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -536,7 +536,7 @@ final class WifiDisplayController implements DumpUtils.Dump {
            WifiP2pConfig config = new WifiP2pConfig();
            config.deviceAddress = mConnectingDevice.deviceAddress;
            // Helps with STA & P2P concurrency
            config.groupOwnerIntent = WifiP2pConfig.MAX_GROUP_OWNER_INTENT;
            config.groupOwnerIntent = WifiP2pConfig.MIN_GROUP_OWNER_INTENT;

            WifiDisplay display = createWifiDisplay(mConnectingDevice);
            advertiseDisplay(display, null, 0, 0, 0);
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,8 @@ public class WifiP2pConfig implements Parcelable {

    /** @hide */
    public static final int MAX_GROUP_OWNER_INTENT   =   15;
    /** @hide */
    public static final int MIN_GROUP_OWNER_INTENT   =   0;

    /**
     * This is an integer value between 0 and 15 where 0 indicates the least