summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2012-10-30 10:44:14 -0700
committerVictoria Lease <violets@google.com>2012-11-27 09:23:52 -0800
commit3dffb8cb691ccd3187cec193223d53b32339ed8b (patch)
tree4d2ce8dc52df2c88ee7dc9b034904516d18cfe5d /location
parent6f3b20ccc14c25173780f01c621dbb2279cd8236 (diff)
downloadframeworks_base-3dffb8cb691ccd3187cec193223d53b32339ed8b.zip
frameworks_base-3dffb8cb691ccd3187cec193223d53b32339ed8b.tar.gz
frameworks_base-3dffb8cb691ccd3187cec193223d53b32339ed8b.tar.bz2
clarify Geofence.createCircle() param ranges
This commit adds the valid ranges to the latitude/longitude parameters in Geofence.createCircle()'s javadoc. Bug: 7172696 Change-Id: Iff6e3c3723d3fd9b6393bbc827ec5755c0d034af
Diffstat (limited to 'location')
-rw-r--r--location/java/android/location/Geofence.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/location/java/android/location/Geofence.java b/location/java/android/location/Geofence.java
index 5fef626..5de779a 100644
--- a/location/java/android/location/Geofence.java
+++ b/location/java/android/location/Geofence.java
@@ -38,8 +38,8 @@ public final class Geofence implements Parcelable {
/**
* Create a circular geofence (on a flat, horizontal plane).
*
- * @param latitude latitude in degrees
- * @param longitude longitude in degrees
+ * @param latitude latitude in degrees, between -90 and +90 inclusive
+ * @param longitude longitude in degrees, between -180 and +180 inclusive
* @param radius radius in meters
* @return a new geofence
* @throws IllegalArgumentException if any parameters are out of range