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

Commit a3b0760d authored by Diksha Gohlyan's avatar Diksha Gohlyan Committed by Android (Google) Code Review
Browse files

Merge "check for column_display_name as null" into rvc-dev

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