Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be7a2947 authored by Victoria Lease's avatar Victoria Lease
Browse files

DO NOT MERGE clarify Geofence.createCircle() param ranges

Cherry-pick I2ca647595275fde610047f681722b19dc41416da from master:

This commit adds the valid ranges to the latitude/longitude
parameters in Geofence.createCircle()'s javadoc.

Bug: 7172696
Change-Id: Iecef09a5fa11be586b05f9f75107c3e77e637d28
parent 16d83fd1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,8 +36,8 @@ public final class Geofence implements Parcelable {
    /**
     * Create a horizontal, circular geofence.
     *
     * @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