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

5195: Fix upload wizard crash on tapping target icon #5306

Conversation

RitikaPahwa4444
Copy link
Collaborator

Description (required)

Fixes #5195

What changes did you make and why?
Added a null check to prevent the app from crashing when location updates aren't available.

Tests performed (required)

Tested prodDebug on Redmi 5A with API level 27.

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

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

I tried this pull request on all places in the app where there is a map (after removing location permission ad restarting the app each time), no crash. :-)

I observed a less severe bug so I will merge this and let's keep track of the less severe bug here: #5309

@nicolas-raoul nicolas-raoul merged commit 2282ce3 into commons-app:main Sep 25, 2023
1 check passed
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.

App crashes on pressing the "My Location" icon in the upload wizard
2 participants