[AWARE] Minor fix to documentation for Aware + Discovery

Clarify that limits include "=". This is particuarly critical for
the lower range value of 0 since in very close quarters measurements
will result in negative values which will be translated to a 0 - i.e.
must have >=0 for ranging to trigger discovery.

Bug: 65108607
Test: N/A
Change-Id: I443c2fff7fe8dad6133d66a82f645a8304787f4c
This commit is contained in:
Etan Cohen
2018-03-12 10:28:40 -07:00
parent 85c0e8787d
commit e23bb145b0

View File

@@ -418,8 +418,8 @@ public final class SubscribeConfig implements Parcelable {
* notification. I.e. discovery will be triggered if we've found a matching publisher
* (based on the other criteria in this configuration) <b>and</b> the distance to the
* publisher is larger than the value specified in this API. Can be used in conjunction with
* {@link #setMaxDistanceMm(int)} to specify a geofence, i.e. discovery with min <
* distance < max.
* {@link #setMaxDistanceMm(int)} to specify a geofence, i.e. discovery with min <=
* distance <= max.
* <p>
* For ranging to be used in discovery it must also be enabled on the publisher using
* {@link PublishConfig.Builder#setRangingEnabled(boolean)}. However, ranging may
@@ -453,8 +453,8 @@ public final class SubscribeConfig implements Parcelable {
* notification. I.e. discovery will be triggered if we've found a matching publisher
* (based on the other criteria in this configuration) <b>and</b> the distance to the
* publisher is smaller than the value specified in this API. Can be used in conjunction
* with {@link #setMinDistanceMm(int)} to specify a geofence, i.e. discovery with min <
* distance < max.
* with {@link #setMinDistanceMm(int)} to specify a geofence, i.e. discovery with min <=
* distance <= max.
* <p>
* For ranging to be used in discovery it must also be enabled on the publisher using
* {@link PublishConfig.Builder#setRangingEnabled(boolean)}. However, ranging may