summaryrefslogtreecommitdiff
path: root/packages/FusedLocation/test
diff options
context:
space:
mode:
author Soonil Nagarkar <sooniln@google.com> 2020-09-15 10:32:40 -0700
committer Soonil Nagarkar <sooniln@google.com> 2020-09-15 17:13:46 -0700
commitf2bc6ba3a0ee6f6a45807e17582d018e961a8421 (patch)
treec5cd9635a7094ecb7a3445bf94c091b8e3cd800c /packages/FusedLocation/test
parent56b327db8854096221c60d181e953159ebda850e (diff)
Fix up provider internal/external APIs
-Encapsulate various fields -Bring naming in line with API guidelines -Minor refactoring Bug: 168621146 Test: manual Change-Id: I55681a3d84d7833c98569a13a57e6c4f0b728a67
Diffstat (limited to 'packages/FusedLocation/test')
-rw-r--r--packages/FusedLocation/test/src/com/android/location/fused/tests/FusedLocationServiceTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/FusedLocation/test/src/com/android/location/fused/tests/FusedLocationServiceTest.java b/packages/FusedLocation/test/src/com/android/location/fused/tests/FusedLocationServiceTest.java
index 687dd13f8732..e05bd3c22ae8 100644
--- a/packages/FusedLocation/test/src/com/android/location/fused/tests/FusedLocationServiceTest.java
+++ b/packages/FusedLocation/test/src/com/android/location/fused/tests/FusedLocationServiceTest.java
@@ -124,7 +124,7 @@ public class FusedLocationServiceTest {
mProvider.setRequest(
new ProviderRequest.Builder()
- .setInterval(1000)
+ .setIntervalMillis(1000)
.setLocationRequests(Collections.singletonList(request))
.build(),
new WorkSource());
@@ -143,7 +143,7 @@ public class FusedLocationServiceTest {
mProvider.setRequest(
new ProviderRequest.Builder()
- .setInterval(1000)
+ .setIntervalMillis(1000)
.setLocationRequests(Collections.singletonList(request))
.build(),
new WorkSource());