Commit 8e36ffa7 authored by Geoffrey Métais's avatar Geoffrey Métais

Show full path in FilePicker

parent f470cfb0
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment