manoj-g-nair / androidedinburghbustracker

Automatically exported from code.google.com/p/androidedinburghbustracker
0 stars 0 forks source link

Nearest Bus Stops: GPS dialog goes to wrong preference screen on Ice Cream Sandwich #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If the user has the GPS provider turned off and they load the Nearest Bus Stops 
activity, they will be presented with a dialog which asks them if they want to 
turn on GPS. If the user accepts, they are then taken to the device preference 
screen to turn it on.

The issue is that the preferences have been reorganised on Ice Cream Sandwich. 
The user is taken to the wrong preference screen in that case.

To resolve this issue, detect what platform is on the device and show the 
correct preference screen.

Original issue reported on code.google.com by riverni...@gmail.com on 20 Feb 2012 at 11:03

GoogleCodeExporter commented 9 years ago
When I coded this the first time around, I must have not had much sleep or 
something. The correct intent to use is Settings.ACTION_LOCATION_SOURCE_SETTINGS

The issue has been fixed and will be included in the 2.1 release.

Original comment by riverni...@gmail.com on 9 Apr 2012 at 10:26