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:
Srishti Rohatgi 2023-09-28 19:37:28 +05:30 committed by GitHub
parent 8d604a25fa
commit 9525409b9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 442 additions and 251 deletions

View file

@ -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
);
}
}