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

Commit 9a048566 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

Merge "Fix a bug that when user pastes a doc, the breadcrumb adds a doc to it." into nyc-andromeda-dev
parents 20b84e01 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);
        }