summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parenta0123342c22401f06fa847da475fc44fa19013ba (diff)
parent49f29f155e729fd02eeae18b98cfc6ee4910ad3f (diff)
Merge "[AWARE] Specify a match of only the first discovery" into oc-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java b/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java
index 0ffb04bd2..b5e12d29c 100644
--- a/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java
@@ -601,8 +601,7 @@ public class WifiAwareServiceImplTest {
// caught by the Builder. Want to test whether service side will catch invalidly
// constructed configs.
SubscribeConfig subscribeConfig = new SubscribeConfig(serviceName.getBytes(), ssi,
- matchFilter, SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE, 0,
- SubscribeConfig.MATCH_STYLE_ALL, true);
+ matchFilter, SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE, 0, true);
int clientId = doConnect();
IWifiAwareDiscoverySessionCallback mockCallback = mock(
IWifiAwareDiscoverySessionCallback.class);