Merge "Reconcile WorkSource parcel and unparcel code." into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9a64b4bbe5
@@ -114,7 +114,7 @@ public class WorkSource implements Parcelable {
|
||||
mNames = in.createStringArray();
|
||||
|
||||
int numChains = in.readInt();
|
||||
if (numChains > 0) {
|
||||
if (numChains >= 0) {
|
||||
mChains = new ArrayList<>(numChains);
|
||||
in.readParcelableList(mChains, WorkChain.class.getClassLoader());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user