commit | 1dfad7f207dac2c8f623ec54ca161e7a8e807596 | [log] [tgz] |
---|---|---|
author | Steve McKay <smckay@google.com> | Thu Dec 22 13:15:24 2016 -0800 |
committer | Steve McKay <smckay@google.com> | Thu Dec 22 14:03:39 2016 -0800 |
tree | 9f5be6ed855eb931054bc97b801dc7648da9bb6d | |
parent | 48e3eea04af361854bdd8ed068461d51887da0dd [diff] |
Use correct classloader in State CREATOR. Change-Id: I0bfe34218a2d9806e7493ffd6ecda3543847ce39 Test: Build and run and small and med unit.
diff --git a/src/com/android/documentsui/base/State.java b/src/com/android/documentsui/base/State.java index 32d3cc2..43740ad 100644 --- a/src/com/android/documentsui/base/State.java +++ b/src/com/android/documentsui/base/State.java
@@ -159,7 +159,7 @@ in.readMap(state.dirConfigs, loader); in.readList(state.excludedAuthorities, loader); state.openableOnly = in.readInt() != 0; - state.sortModel = in.readParcelable(getClass().getClassLoader()); + state.sortModel = in.readParcelable(loader); return state; }