mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 13:53:54 +01:00
fixes issues related to location permission denial even when allowed inside in-app camera flow (#5313)
* fixes issues related to location permission denial even when allowed inside in-app camera flow * fixes related to in app camera location permissions
This commit is contained in:
parent
8d604a25fa
commit
9525409b9b
18 changed files with 442 additions and 251 deletions
|
|
@ -367,13 +367,13 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment implements
|
|||
launchZoomActivityAfterPermissionCheck(view);
|
||||
} else {
|
||||
PermissionUtils.checkPermissionsAndPerformAction(getActivity(),
|
||||
PermissionUtils.PERMISSIONS_STORAGE,
|
||||
() -> {
|
||||
launchZoomActivityAfterPermissionCheck(view);
|
||||
},
|
||||
R.string.storage_permission_title,
|
||||
R.string.read_storage_permission_rationale
|
||||
);
|
||||
R.string.read_storage_permission_rationale,
|
||||
PermissionUtils.PERMISSIONS_STORAGE
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue