mirror of
https://github.com/moparisthebest/android_external_GmsApi
synced 2024-11-12 20:24:59 -05:00
Small fixes
This commit is contained in:
parent
c1f66a6b3b
commit
3ec1456a3e
@ -14,6 +14,7 @@ public final class Status extends AutoSafeParcelable implements Result {
|
||||
|
||||
public static final Status INTERRUPTED = new Status(STATUS_CODE_INTERRUPTED);
|
||||
public static final Status CANCELED = new Status(STATUS_CODE_CANCELED);
|
||||
public static final Status SUCCESS = new Status(0);
|
||||
|
||||
private final int versionCode;
|
||||
private final int statusCode;
|
||||
|
@ -399,7 +399,7 @@ public class LocationRequest extends AutoSafeParcelable {
|
||||
* @return the same object, so that setters can be chained
|
||||
* @throws IllegalArgumentException if smallestDisplacementMeters is negative
|
||||
*/
|
||||
public LocationRequest setSmallestDesplacement(float smallestDisplacementMeters) {
|
||||
public LocationRequest setSmallestDisplacement(float smallestDisplacementMeters) {
|
||||
if (smallestDisplacementMeters < 0)
|
||||
throw new IllegalArgumentException("smallestDisplacementMeters must not be negative");
|
||||
this.smallestDesplacement = smallestDisplacementMeters;
|
||||
|
Loading…
Reference in New Issue
Block a user