commit | 08ca9e8030eecfc473fa11ae8703d24014602803 | [log] [tgz] |
---|---|---|
author | Steve Lhomme <slhomme@levelupstudio.com> | Fri Aug 10 15:50:01 2012 +0200 |
committer | Chris Banes <chrisbanes@google.com> | Fri Mar 28 09:01:28 2014 +0000 |
tree | 972563bd4200a451fbc6a5f58ec119ee7a962327 | |
parent | a3ad01c14c57a45afb0dc640d9a9a44a530c500d [diff] |
getParcelableArray* behaviour is sometimes unpredictable in some case when the data in a savedInstance the Parcelable arrays stored by the application are not unparcel'ed correctly because the ClassLoader doesn't seem to be correct. The first getSparseParcelableArray() in the code is preceded by setClassLoader() by not the second one. The problem disappears when setClassLoader() is called in both cases. Change-Id: I2d2f42c285d9130fd543c0154e9d210d430823e3