diff options
| author | 2016-04-07 04:44:24 +0000 | |
|---|---|---|
| committer | 2016-04-07 04:44:25 +0000 | |
| commit | 64f2ffaa7ef237a6d8181c03bb0a3bdbbc879792 (patch) | |
| tree | 06a05fdcb56975158a0ff63d23e2d8292421d264 | |
| parent | d119ab94c0d55c3077b1a7c8ca6a54baf6d7087b (diff) | |
| parent | 1451847bea78364fef9cf0bf66b04ccb854a1218 (diff) | |
Merge "Remove unused state in DocumentsUI." into nyc-dev
| -rw-r--r-- | packages/DocumentsUI/src/com/android/documentsui/State.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/DocumentsUI/src/com/android/documentsui/State.java b/packages/DocumentsUI/src/com/android/documentsui/State.java index c7d60e3d1133..f239eb45552b 100644 --- a/packages/DocumentsUI/src/com/android/documentsui/State.java +++ b/packages/DocumentsUI/src/com/android/documentsui/State.java @@ -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; |