Skip to content

Commit 799553e

Browse files
isheriffAndroid (Google) Code Review
authored andcommitted
Merge "Fix device list update" into jb-mr1-dev
2 parents 41bd89f + e298d88 commit 799553e

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)