Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b265f8c1 authored by Jeff Davidson's avatar Jeff Davidson Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when parceling getMetadata result."

parents 79932641 e397bf3f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -81,14 +81,14 @@ public final class GetDownloadableSubscriptionMetadataResult implements Parcelab

    private GetDownloadableSubscriptionMetadataResult(Parcel in) {
        this.result = in.readInt();
        this.subscription = DownloadableSubscription.CREATOR.createFromParcel(in);
        this.subscription = in.readTypedObject(DownloadableSubscription.CREATOR);
        this.detailedCode = in.readInt();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(result);
        this.subscription.writeToParcel(dest, 0);
        dest.writeTypedObject(this.subscription, flags);
        dest.writeInt(detailedCode);
    }