summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2017-04-24 22:59:17 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-04-24 22:59:27 +0000
commit84a08e7fc9d72a92935286c2deecad10109f03b8 (patch)
tree4eba8958343bcf3b26da4c85a23f1c590bafe0a4 /service
parenta0123342c22401f06fa847da475fc44fa19013ba (diff)
parent49f29f155e729fd02eeae18b98cfc6ee4910ad3f (diff)
Merge "[AWARE] Specify a match of only the first discovery" into oc-dev
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java b/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
index 8d99befdd..2efa2aecc 100644
--- a/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
+++ b/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
@@ -367,7 +367,7 @@ public class WifiAwareNativeApi {
req.baseConfigs.discoveryCount = 0;
convertNativeByteArrayToArrayList(subscribeConfig.mServiceName,
req.baseConfigs.serviceName);
- req.baseConfigs.discoveryMatchIndicator = subscribeConfig.mMatchStyle;
+ req.baseConfigs.discoveryMatchIndicator = NanMatchAlg.MATCH_ONCE;
convertNativeByteArrayToArrayList(subscribeConfig.mServiceSpecificInfo,
req.baseConfigs.serviceSpecificInfo);
convertNativeByteArrayToArrayList(subscribeConfig.mMatchFilter,