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

Commit 880ecd9d authored by Diksha Gohlyan's avatar Diksha Gohlyan
Browse files

check for column_display_name as null

Fixes:155504776
Test: atest DocumentsUIGoogleTests

Change-Id: Ib3da2a11c5d92dcca4c867dd35b291b11c5b1128
parent 9b85a57d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ public class FilteringCursorWrapper extends AbstractCursor {
        cursor.moveToPosition(-1);
        while (cursor.moveToNext() && mCount < count) {
            final String name = getCursorString(cursor, Document.COLUMN_DISPLAY_NAME);
            if (!showHiddenFiles && name.startsWith(".")) {
            if (!showHiddenFiles && name != null && name.startsWith(".")) {
                continue;
            }
            mPosition[mCount++] = cursor.getPosition();