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

Commit 661dbe5c authored by Garfield Tan's avatar Garfield Tan Committed by android-build-merger
Browse files

Fix a bug that when user pastes a doc, the breadcrumb adds a doc to it.

am: 6c6f0b98

Change-Id: Iaa7b3e7aa648c72c278d9e2da6e81ff2dcb23d34
parents 45457755 6c6f0b98
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -78,11 +78,11 @@ public class DocumentStack implements Durable, Parcelable {
    }

    /**
     * Makes a new shallow copy, and pushes all docs to the new copy in the same order as they're
     * Makes a new copy, and pushes all docs to the new copy in the same order as they're
     * passed as parameters, i.e. the last document will be at the top of the stack.
     */
    public DocumentStack(DocumentStack src, DocumentInfo... docs) {
        mList = src.mList;
        mList = new LinkedList<>(src.mList);
        for (DocumentInfo doc : docs) {
            mList.addLast(doc);
        }