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

Commit e1d62401 authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android Git Automerger
Browse files

am e8d79c87: am 218e2f19: Merge "Specify max go intent for wifi display" into jb-mr1-dev

* commit 'e8d79c87':
  Specify max go intent for wifi display
parents 012bdf54 e8d79c87
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -485,6 +485,8 @@ final class WifiDisplayController implements DumpUtils.Dump {
            mConnectingDevice = mDesiredDevice;
            WifiP2pConfig config = new WifiP2pConfig();
            config.deviceAddress = mConnectingDevice.deviceAddress;
            // Helps with STA & P2P concurrency
            config.groupOwnerIntent = WifiP2pConfig.MAX_GO_INTENT;

            final WifiDisplay display = createWifiDisplay(mConnectingDevice);
            mHandler.post(new Runnable() {
+3 −0
Original line number Diff line number Diff line
@@ -37,6 +37,9 @@ public class WifiP2pConfig implements Parcelable {
     */
    public WpsInfo wps;

    /** @hide */
    public static final int MAX_GO_INTENT   =   15;

    /**
     * This is an integer value between 0 and 15 where 0 indicates the least
     * inclination to be a group owner and 15 indicates the highest inclination