summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
Diffstat (limited to 'location')
-rw-r--r--location/java/com/android/internal/location/LocationProviderImpl.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/location/java/com/android/internal/location/LocationProviderImpl.java b/location/java/com/android/internal/location/LocationProviderImpl.java
index 5e9c074..fc830f5 100644
--- a/location/java/com/android/internal/location/LocationProviderImpl.java
+++ b/location/java/com/android/internal/location/LocationProviderImpl.java
@@ -25,7 +25,6 @@ import android.util.Log;
import java.util.ArrayList;
import java.util.HashMap;
-import java.util.List;
/**
* An abstract superclass for location provider implementations.
@@ -62,8 +61,8 @@ public abstract class LocationProviderImpl extends LocationProvider {
sProvidersByName.remove(provider.getName());
}
- public static List<LocationProviderImpl> getProviders() {
- return new ArrayList<LocationProviderImpl>(sProviders);
+ public static ArrayList<LocationProviderImpl> getProviders() {
+ return sProviders;
}
public static LocationProviderImpl getProvider(String name) {