diff options
author | Etan Cohen <etancohen@google.com> | 2017-04-24 22:59:17 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-04-24 22:59:27 +0000 |
commit | 84a08e7fc9d72a92935286c2deecad10109f03b8 (patch) | |
tree | 4eba8958343bcf3b26da4c85a23f1c590bafe0a4 /service | |
parent | a0123342c22401f06fa847da475fc44fa19013ba (diff) | |
parent | 49f29f155e729fd02eeae18b98cfc6ee4910ad3f (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.java | 2 |
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, |