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

Commit 2794e22f authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski Committed by android-build-merger
Browse files

Merge "Remove unused state in DocumentsUI." into nyc-dev

am: 64f2ffa

* commit '64f2ffaa7ef237a6d8181c03bb0a3bdbbc879792':
  Remove unused state in DocumentsUI.

Change-Id: I44a191ccedb4d1bb1a13b029a69892a4c84dad3e
parents 47d38046 8186a242
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -123,9 +123,6 @@ public class State implements android.os.Parcelable {
    /** Instance state for every shown directory */
    public HashMap<String, SparseArray<Parcelable>> dirState = new HashMap<>();

    /** UI selection */
    public Selection selectedDocuments = new Selection();

    /** Currently copying file */
    public List<DocumentInfo> selectedDocumentsForCopy = new ArrayList<>();

@@ -202,7 +199,6 @@ public class State implements android.os.Parcelable {
        out.writeInt(external ? 1 : 0);
        DurableUtils.writeToParcel(out, stack);
        out.writeMap(dirState);
        out.writeParcelable(selectedDocuments, 0);
        out.writeList(selectedDocumentsForCopy);
        out.writeList(excludedAuthorities);
        out.writeInt(openableOnly ? 1 : 0);
@@ -233,7 +229,6 @@ public class State implements android.os.Parcelable {
            state.external = in.readInt() != 0;
            DurableUtils.readFromParcel(in, state.stack);
            in.readMap(state.dirState, loader);
            state.selectedDocuments = in.readParcelable(loader);
            in.readList(state.selectedDocumentsForCopy, loader);
            in.readList(state.excludedAuthorities, loader);
            state.openableOnly = in.readInt() != 0;