Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7869582f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ExternalStorageProvider: SD card's name in Document UI is unreadable"

parents 98fb4e62 bded812b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -154,7 +154,9 @@ public class ExternalStorageProvider extends DocumentsProvider {
                if (ROOT_ID_PRIMARY_EMULATED.equals(rootId)) {
                    root.title = getContext().getString(R.string.root_internal_storage);
                } else {
                    root.title = volume.getUserLabel();
                    // Use volume's description firstly, if it has any
                    root.title = TextUtils.isEmpty(volume.getDescription(getContext())) ?
                            volume.getUserLabel() : volume.getDescription(getContext());
                }
                root.docId = getDocIdForFile(path);
                mRoots.add(root);