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

Fix issue with onRequestPermissionsResult not being called in Nearby map and list #1424

Merged
merged 17 commits into from
Apr 5, 2018

Conversation

misaochan
Copy link
Member

@misaochan misaochan commented Apr 4, 2018

Fixes #1420

Tested on Nexus S emulator on API 25.

To test this, clear storage permissions and then try direct uploading from Nearby map or list. After you approve permissions, it should take you directly to the gallery or camera.

@codecov-io
Copy link

codecov-io commented Apr 4, 2018

Codecov Report

Merging #1424 into 2.7.x-release will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@               Coverage Diff                @@
##           2.7.x-release   #1424      +/-   ##
================================================
- Coverage           3.31%   3.31%   -0.01%     
================================================
  Files                128     128              
  Lines               6809    6810       +1     
  Branches             669     669              
================================================
  Hits                 226     226              
- Misses              6568    6569       +1     
  Partials              15      15
Impacted Files Coverage Δ
...fr/free/nrw/commons/nearby/NearbyListFragment.java 0% <ø> (ø) ⬆️
.../java/fr/free/nrw/commons/nearby/DirectUpload.java 0% <0%> (ø) ⬆️
...ava/fr/free/nrw/commons/nearby/NearbyActivity.java 0% <0%> (ø) ⬆️
.../fr/free/nrw/commons/nearby/NearbyMapFragment.java 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2150d7f...145afae. Read the comment docs.

@misaochan misaochan requested a review from neslihanturan April 5, 2018 10:56
@neslihanturan
Copy link
Collaborator

Worked well for me @misaochan , thanks:)

@neslihanturan neslihanturan merged commit f416689 into commons-app:2.7.x-release Apr 5, 2018
@misaochan misaochan deleted the fix-permissions-2 branch April 5, 2018 14:14
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.

3 participants