Skip to content

Commit e298d88

Browse files
committed
Fix device list update
Change-Id: I6a57d90f3750590db4ac5d538956b989d9589501
1 parent ab603ac commit e298d88

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

wifi/java/android/net/wifi/p2p/WifiP2pDevice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public class WifiP2pDevice implements Parcelable {
125125
"config_methods=(0x[0-9a-fA-F]+) " +
126126
"dev_capab=(0x[0-9a-fA-F]+) " +
127127
"group_capab=(0x[0-9a-fA-F]+)" +
128-
"( wfd_dev_info=000006([0-9a-fA-F]+))?"
128+
"( wfd_dev_info=0x000006([0-9a-fA-F]{12}))?"
129129
);
130130

131131
/** 2 token device address pattern

wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public void update(WifiP2pDevice device) {
7676
d.wpsConfigMethodsSupported = device.wpsConfigMethodsSupported;
7777
d.deviceCapability = device.deviceCapability;
7878
d.groupCapability = device.groupCapability;
79+
d.wfdInfo = device.wfdInfo;
7980
return;
8081
}
8182
//Not found, add a new one

0 commit comments

Comments
 (0)