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

Commit 68e7b1bf authored by Ivan Chiang's avatar Ivan Chiang
Browse files

Update FLAG_DIR_BLOCK_TREE to FLAG_DIR_BLOCKS_OPEN_DOCUMENT_TREE

Test: atest DocumentsTest
Bug: 144764129
Change-Id: I546fdc6d3820dadf48ffccb5db0319e40c97d615
parent 9febe073
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,7 +291,7 @@ public class DocumentInfo implements Durable, Parcelable {
    }

    public boolean isBlockedFromTree() {
        return (flags & Document.FLAG_DIR_BLOCKS_TREE) != 0;
        return (flags & Document.FLAG_DIR_BLOCKS_OPEN_DOCUMENT_TREE) != 0;
    }

    // Containers are documents which can be opened in DocumentsUI as folders.