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

Commit 7ad3f9af authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

Disallow opening archives in archives.

It's unsupported and may perform badly.

Test: Tested manually.
Bug: 35336928
Change-Id: I2ca14fda8c8ab9ffe54c0cdc7b9d11fa57805cf4
parent 67d6ff2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ public class DocumentInfo implements Durable, Parcelable {
    }

    public boolean isContainer() {
        return isDirectory() || isArchive();
        return isDirectory() || (isArchive() && !isInArchive());
    }

    public boolean isVirtual() {