We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1434e29 + 5e0cc0d commit dcc036cCopy full SHA for dcc036c
services/java/com/android/server/display/WifiDisplayController.java
@@ -493,8 +493,13 @@ public void onFailure(int reason) {
493
return; // done
494
}
495
496
- WifiP2pWfdInfo wfdInfo = mConnectedDevice.wfdInfo;
497
- int port = (wfdInfo != null ? wfdInfo.getControlPort() : DEFAULT_CONTROL_PORT);
+ int port = DEFAULT_CONTROL_PORT;
+ if (mConnectedDevice.deviceName.startsWith("DIRECT-")
498
+ && mConnectedDevice.deviceName.endsWith("Broadcom")) {
499
+ // These dongles ignore the port we broadcast in our WFD IE.
500
+ port = 8554;
501
+ }
502
+
503
final WifiDisplay display = createWifiDisplay(mConnectedDevice);
504
final String iface = addr.getHostAddress() + ":" + port;
505
0 commit comments