summaryrefslogtreecommitdiff
path: root/packages/FusedLocation/test
diff options
context:
space:
mode:
author Soonil Nagarkar <sooniln@google.com> 2021-03-01 16:26:21 -0800
committer Soonil Nagarkar <sooniln@google.com> 2021-03-22 20:27:31 -0700
commitc257baefb5758f895c52b520d9d772225c067e14 (patch)
tree530938cb055065355888f6c3a6e44ce4b129cc6b /packages/FusedLocation/test
parent74882cf536a560d23a1cf422faee8c15e1cda763 (diff)
Refactor ServiceWatcher
Split it up into more generic and useable components that are not as location specific. Bug: 182491144 Bug: 181665909 Test: presubmits Change-Id: I2d6d5e70328657a7430e170531402cb3acbed028
Diffstat (limited to 'packages/FusedLocation/test')
-rw-r--r--packages/FusedLocation/test/src/com/android/location/fused/tests/FusedLocationServiceTest.java18
1 files changed, 5 insertions, 13 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 7cc599499ca1..c4c60ea5aaa8 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
@@ -151,20 +151,14 @@ public class FusedLocationServiceTest {
}
@Override
- public void onInitialize(boolean allowed, ProviderProperties properties, String packageName,
- String attributionTag) {
-
- }
+ public void onInitialize(boolean allowed, ProviderProperties properties,
+ String attributionTag) {}
@Override
- public void onSetAllowed(boolean allowed) {
-
- }
+ public void onSetAllowed(boolean allowed) {}
@Override
- public void onSetProperties(ProviderProperties properties) {
-
- }
+ public void onSetProperties(ProviderProperties properties) {}
@Override
public void onReportLocation(Location location) {
@@ -177,9 +171,7 @@ public class FusedLocationServiceTest {
}
@Override
- public void onFlushComplete() {
-
- }
+ public void onFlushComplete() {}
public Location getNextLocation(long timeoutMs) throws InterruptedException {
return mLocations.poll(timeoutMs, TimeUnit.MILLISECONDS);