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

This commit is contained in:
Irfan Sheriff
2012-09-20 18:05:22 -07:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 1 deletions

View File

@@ -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);

View File

@@ -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