Loading services/java/com/android/server/LocationManagerService.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -308,6 +308,7 @@ public class LocationManagerService extends ILocationManager.Stub implements Run addProviderLocked(fusedLocationProvider); addProviderLocked(fusedLocationProvider); mProxyProviders.add(fusedLocationProvider); mProxyProviders.add(fusedLocationProvider); mEnabledProviders.add(fusedLocationProvider.getName()); mEnabledProviders.add(fusedLocationProvider.getName()); mRealProviders.put(LocationManager.FUSED_PROVIDER, fusedLocationProvider); } else { } else { Slog.e(TAG, "no fused location provider found", Slog.e(TAG, "no fused location provider found", new IllegalStateException("Location service needs a fused location provider")); new IllegalStateException("Location service needs a fused location provider")); Loading Loading
services/java/com/android/server/LocationManagerService.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -308,6 +308,7 @@ public class LocationManagerService extends ILocationManager.Stub implements Run addProviderLocked(fusedLocationProvider); addProviderLocked(fusedLocationProvider); mProxyProviders.add(fusedLocationProvider); mProxyProviders.add(fusedLocationProvider); mEnabledProviders.add(fusedLocationProvider.getName()); mEnabledProviders.add(fusedLocationProvider.getName()); mRealProviders.put(LocationManager.FUSED_PROVIDER, fusedLocationProvider); } else { } else { Slog.e(TAG, "no fused location provider found", Slog.e(TAG, "no fused location provider found", new IllegalStateException("Location service needs a fused location provider")); new IllegalStateException("Location service needs a fused location provider")); Loading