diff options
author | Etan Cohen <etancohen@google.com> | 2017-04-24 23:08:28 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-24 23:08:28 +0000 |
commit | 5896b01cb26e71c1102d17a0fa7baacd6e4d963a (patch) | |
tree | df52b35f8429d8150f4538ce37b3997d5bfa54d7 /service | |
parent | e2bd998b5a9aa0748c5de85a5e39839a54028f0a (diff) | |
parent | 84a08e7fc9d72a92935286c2deecad10109f03b8 (diff) |
Merge "[AWARE] Specify a match of only the first discovery" into oc-dev
am: 84a08e7fc9
Change-Id: I1399ac43636c4ecdce6859e7aa0fdd16677a480d
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, |