A shot at fixing bug in parceling of EntitySet
We'll need to keep watching for this bug, because I could
not reproduce it. The fix is just the best guess after
and armchair investigation.
Bug: 2498937
Change-Id: Ic42cecc5ce79504e645bd07fb80d3ac0f53b3bed
diff --git a/src/com/android/contacts/model/EntitySet.java b/src/com/android/contacts/model/EntitySet.java
index ac53611..7502d0f 100644
--- a/src/com/android/contacts/model/EntitySet.java
+++ b/src/com/android/contacts/model/EntitySet.java
@@ -319,9 +319,10 @@
}
public void readFromParcel(Parcel source) {
+ final ClassLoader loader = getClass().getClassLoader();
final int size = source.readInt();
for (int i = 0; i < size; i++) {
- this.add(source.<EntityDelta> readParcelable(null));
+ this.add(source.<EntityDelta> readParcelable(loader));
}
}