OSDN Git Service

[AWARE] Remove Publish/Subscribe Count configuration
authorEtan Cohen <etancohen@google.com>
Mon, 20 Mar 2017 18:33:12 +0000 (11:33 -0700)
committerEtan Cohen <etancohen@google.com>
Wed, 29 Mar 2017 17:05:19 +0000 (10:05 -0700)
commitf6d243b6be463eccb59b2827bcd0b9ad02a9a246
tree299209952ae800126bfe4cc4825d8f17f15d4b3c
parenta85dcbbd8e33852a8440a4b7f843cdadd90ee0ad
[AWARE] Remove Publish/Subscribe Count configuration

Simplify API: semantics of publish/subscribe count restrictions
aren't clear at the app level. They depend on DW configuration as
well as discovery session type - number of packets transmitted over
the air.

There's already an app-facing discovery session lifetime configuration -
the TTL. That has clearer semantics and is sufficient (for now).

(cherry-pick of commit 2cbaf22bba4da1b60c551112a97ccc7f2e7157fa)

Bug: 36446307
Test: unit tests and integration (sl4a) tests.
Merged-In: I9129975bd2e1a61b3d23a4b6acaae703b42216c7
Change-Id: I9129975bd2e1a61b3d23a4b6acaae703b42216c7
api/current.txt
api/system-current.txt
api/test-current.txt
wifi/java/android/net/wifi/aware/DiscoverySessionCallback.java
wifi/java/android/net/wifi/aware/PublishConfig.java
wifi/java/android/net/wifi/aware/SubscribeConfig.java
wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java