Outsmash / little-fluffy-location-library

Automatically exported from code.google.com/p/little-fluffy-location-library
0 stars 0 forks source link

Library crashes when GPS is off #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. GPS is OFF
2. Start your example app

The app crashes with this exception:

E/AndroidRuntime( 4490): FATAL EXCEPTION: LocationBroadcastService
E/AndroidRuntime( 4490): java.lang.IllegalArgumentException: no providers found 
for criteria
E/AndroidRuntime( 4490):    at android.os.Parcel.readException(Parcel.java:1326)
E/AndroidRuntime( 4490):    at android.os.Parcel.readException(Parcel.java:1276)
E/AndroidRuntime( 4490):    at 
android.location.ILocationManager$Stub$Proxy.requestLocationUpdatesPI(ILocationM
anager.java:678)
E/AndroidRuntime( 4490):    at 
android.location.LocationManager._requestLocationUpdates(LocationManager.java:71
1)
E/AndroidRuntime( 4490):    at 
android.location.LocationManager.requestSingleUpdate(LocationManager.java:851)
E/AndroidRuntime( 4490):    at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.forceL
ocationUpdate(LocationBroadcastService.java:129)
E/AndroidRuntime( 4490):    at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService$1.run(
LocationBroadcastService.java:86)
E/AndroidRuntime( 4490):    at java.lang.Thread.run(Thread.java:1019)

Original issue reported on code.google.com by alfredo....@gmail.com on 3 May 2012 at 8:45

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r6.

Original comment by ken...@kentonprice.com on 5 May 2012 at 5:48

GoogleCodeExporter commented 9 years ago
That's a bit smug, how it auto-closed it when I checked in the source code 
change! :-) Thanks for finding it. New binaries and zipfile in downloads also.

Original comment by ken...@kentonprice.com on 5 May 2012 at 5:56