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

Commit 870edd42 authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Gerrit Code Review
Browse files

Merge "CMFM: Fix NPE when parent dir is null" into cm-10.1

parents b527c896 063da252
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -149,6 +149,9 @@ public class DirectoryInlineAutocompleteTextView

        //Get the new parent
        String newParent = FileHelper.getParentDir(new File(value));
        if (newParent == null) {
            newParent = FileHelper.ROOT_DIRECTORY;
        }
        if (!newParent.endsWith(File.separator)) {
            newParent += File.separator;
        }