Skip to content
Snippets Groups Projects
Commit 8e36ffa7 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Show full path in FilePicker

parent f470cfb0
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,9 @@ public class FileBrowserFragment extends BaseBrowserFragment {
if (TextUtils.equals(AndroidDevices.EXTERNAL_PUBLIC_DIRECTORY, Strings.removeFileProtocole(mMrl)))
title = getString(R.string.internal_memory);
else
title = mCurrentMedia.getTitle();
title = this instanceof FilePickerFragment ? mCurrentMedia.getUri().toString() : mCurrentMedia.getTitle();
} else
title = FileUtils.getFileNameFromPath(mMrl);
title = this instanceof FilePickerFragment ? mMrl : FileUtils.getFileNameFromPath(mMrl);
return title;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment