summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
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,