diff options
| author | 2021-08-12 07:53:47 +0000 | |
|---|---|---|
| committer | 2021-08-12 07:53:47 +0000 | |
| commit | 5e98f82037f3699cdd3ea17c78324a454ee43da9 (patch) | |
| tree | 9aae9cf4686ca0de5e5d7936732d900105c43160 /location/java/android | |
| parent | 9964de6fd1315040f954d2fe3ba07deb46002bef (diff) | |
| parent | da458457e11862070ca079e4ae10a302f952340d (diff) | |
Merge "Allow negative value for CorrelationVector#samplingStartM" into sc-dev am: a5117ca3b4 am: da458457e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15515230
Change-Id: I34512dbaaf6157e347cd829166c0a3b52844873e
Diffstat (limited to 'location/java/android')
| -rw-r--r-- | location/java/android/location/CorrelationVector.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/location/java/android/location/CorrelationVector.java b/location/java/android/location/CorrelationVector.java index 718977ff4296..5493e2579225 100644 --- a/location/java/android/location/CorrelationVector.java +++ b/location/java/android/location/CorrelationVector.java @@ -94,8 +94,6 @@ public final class CorrelationVector implements Parcelable { "FrequencyOffsetMetersPerSecond must be non-negative (greater than or equal to 0)"); Preconditions.checkArgument(builder.mSamplingWidthMeters > 0.0, "SamplingWidthMeters must be positive (greater than 0)"); - Preconditions.checkArgument(builder.mSamplingStartMeters >= 0.0, - "SamplingStartMeters must be non-negative (greater than or equal to 0)"); mMagnitude = builder.mMagnitude; mFrequencyOffsetMetersPerSecond = builder.mFrequencyOffsetMetersPerSecond; mSamplingWidthMeters = builder.mSamplingWidthMeters; |