Don't forget to parcel mIsAppProvidedIntent

If you forget to parcel it like I did, it's
not going to do you much good.

Change-Id: I85191594e7ffab2c36aeed317932b126da288bdf
This commit is contained in:
Adam Skory
2015-06-05 19:08:01 -06:00
parent a28863e769
commit e76e7014c7

View File

@@ -152,6 +152,7 @@ public class AssistContent {
if (in.readInt() != 0) {
mUri = Uri.CREATOR.createFromParcel(in);
}
mIsAppProvidedIntent = in.readInt() == 1;
}
/** @hide */
@@ -174,5 +175,6 @@ public class AssistContent {
} else {
dest.writeInt(0);
}
dest.writeInt(mIsAppProvidedIntent ? 1 : 0);
}
}