Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 3dffb8cb691ccd3187cec193223d53b32339ed8b 1 parent 6f3b20c
Victoria Lease authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 location/java/android/location/Geofence.java
4 location/java/android/location/Geofence.java
View
@@ -38,8 +38,8 @@
/**
* 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
Please sign in to comment.
Something went wrong with that request. Please try again.