Fix crash in settings from incorrect parcelization

Bug: 20159614
Change-Id: Id7bf48f2337c8764a37b5f6ff836fbae4019c747
This commit is contained in:
Jason Monk
2015-04-15 17:21:32 -04:00
parent 5f937152a5
commit 5dec877fb0

View File

@@ -161,7 +161,7 @@ public class DashboardTile implements Parcelable {
final int N = userHandle.size(); final int N = userHandle.size();
dest.writeInt(N); dest.writeInt(N);
for (int i = 0; i < N; i++) { for (int i = 0; i < N; i++) {
dest.writeParcelable(userHandle.get(i), flags); userHandle.get(i).writeToParcel(dest, flags);
} }
dest.writeBundle(extras); dest.writeBundle(extras);
} }