Skip to content

Commit

Permalink
Merge pull request #15 from developster/master
Browse files Browse the repository at this point in the history
Add mMemoryCacheDataEnabled to the Parcelable data
  • Loading branch information
foxykeep committed Jan 26, 2013
2 parents 784bc4b + 6ef0a3c commit 64a82e2
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -602,6 +602,7 @@ public int hashCode() {
// Parcelable management
private Request(final Parcel in) {
mRequestType = in.readInt();
mMemoryCacheDataEnabled = in.readInt() == 1;
in.readStringList(mParamList);
for (int i = 0, n = in.readInt(); i < n; i++) {
mTypeList.add(in.readInt());
Expand All @@ -617,6 +618,7 @@ public int describeContents() {
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeInt(mRequestType);
dest.writeInt(mMemoryCacheDataEnabled ? 1 : 0);
dest.writeStringList(mParamList);
dest.writeInt(mTypeList.size());
for (int i = 0, length = mTypeList.size(); i < length; i++) {
Expand Down

0 comments on commit 64a82e2

Please sign in to comment.