Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-11334] Fixing Geolocation crasher. #3145

Merged
merged 3 commits into from Oct 12, 2012
Merged

Conversation

srahim
Copy link
Contributor

@srahim srahim commented Oct 10, 2012

Testing Instruction

Test case in JIRA

Run Fresh install of KS and go to Phone > Geolocation..
** Application should not crash
** Current Location (One Shot) should not error out.

@ghost ghost assigned mstepanov Oct 10, 2012
@@ -846,7 +846,15 @@ -(void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray

- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
{
[self locationManager:manager didUpdateLocations:[NSArray arrayWithObjects:oldLocation,newLocation,nil]];
if (newLocation != NULL) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nil, not NULL

@srahim
Copy link
Contributor Author

srahim commented Oct 11, 2012

Updated. Ready for re - review

@mstepanov
Copy link
Contributor

Code reviewed. APPROVED

@mstepanov
Copy link
Contributor

FT PASSED

mstepanov pushed a commit that referenced this pull request Oct 12, 2012
[TIMOB-11334] Fixing Geolocation crasher.
@mstepanov mstepanov merged commit 0586fb4 into tidev:master Oct 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants