diff options
author | Etan Cohen <etancohen@google.com> | 2017-02-10 23:12:14 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-02-10 23:12:14 +0000 |
commit | de617e06ecf10ca13f382b67743e3a1489decfe6 (patch) | |
tree | c7c8db30638b6b91af021d765a42ce97ad3b5ca9 /service | |
parent | fab3621561165b1060bb3036bd8576c19013d686 (diff) | |
parent | cb1a42a285106e31790297b5427024f43307d457 (diff) |
Merge "[AWARE] Enable Subscribe Service ID List Attribute inclusion"
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java b/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java index 4f6a05bc5..92b3b6d07 100644 --- a/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java +++ b/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java @@ -126,6 +126,8 @@ public class WifiAwareNativeApi { req.configParams.disableJoinedClusterIndication = !notifyIdentityChange; req.configParams.includePublishServiceIdsInBeacon = true; req.configParams.numberOfPublishServiceIdsInBeacon = 0; + req.configParams.includeSubscribeServiceIdsInBeacon = true; + req.configParams.numberOfSubscribeServiceIdsInBeacon = 0; req.configParams.rssiWindowSize = 8; req.configParams.macAddressRandomizationIntervalSec = 1800; req.configParams.acceptRangingRequests = true; @@ -177,6 +179,8 @@ public class WifiAwareNativeApi { req.disableJoinedClusterIndication = !notifyIdentityChange; req.includePublishServiceIdsInBeacon = true; req.numberOfPublishServiceIdsInBeacon = 0; + req.includeSubscribeServiceIdsInBeacon = true; + req.numberOfSubscribeServiceIdsInBeacon = 0; req.rssiWindowSize = 8; req.macAddressRandomizationIntervalSec = 1800; req.acceptRangingRequests = true; |