File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
services/java/com/android/server/display
wifi/java/android/net/wifi/p2p Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -485,6 +485,8 @@ private void next() {
485485 mConnectingDevice = mDesiredDevice ;
486486 WifiP2pConfig config = new WifiP2pConfig ();
487487 config .deviceAddress = mConnectingDevice .deviceAddress ;
488+ // Helps with STA & P2P concurrency
489+ config .groupOwnerIntent = WifiP2pConfig .MAX_GO_INTENT ;
488490
489491 final WifiDisplay display = createWifiDisplay (mConnectingDevice );
490492 mHandler .post (new Runnable () {
Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ public class WifiP2pConfig implements Parcelable {
3737 */
3838 public WpsInfo wps ;
3939
40+ /** @hide */
41+ public static final int MAX_GO_INTENT = 15 ;
42+
4043 /**
4144 * This is an integer value between 0 and 15 where 0 indicates the least
4245 * inclination to be a group owner and 15 indicates the highest inclination
You can’t perform that action at this time.
0 commit comments