mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Remove persistable permission for custom picker as it's not required
This commit is contained in:
parent
aff2a4347c
commit
d8b6db5b82
1 changed files with 0 additions and 1 deletions
|
|
@ -323,7 +323,6 @@ object FilePicker : Constants {
|
|||
callbacks: Callbacks
|
||||
) {
|
||||
if (result.resultCode == Activity.RESULT_OK) {
|
||||
takePersistableUriPermissions(activity, result)
|
||||
try {
|
||||
val files = getFilesFromCustomSelector(result.data, activity)
|
||||
callbacks.onImagesPicked(files, ImageSource.CUSTOM_SELECTOR, restoreType(activity))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue