location-samples
location-samples copied to clipboard
Activity.RESULT_OK not being called on 4.1 and 4.2 after Clicking YES in SettingsApi Use Location Dialog
I was running the LocationSettings sample app on a 4.1 device.

But If I click "Yes" or "No", always Activity.RESULT_CANCELED is being called. As per documentation Activity.RESULT_OK needs to be called.
Activity.RESULT_OK is being called in other Android versions. The problem is happening only in 4.1 and 4.2
Show Logs with classes
@varun7952 Did not get your point.
This looks like a bug to me. Let me see if I can replicate.
Issue is coming htc one.