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

Commit b7347a4b authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Parcel compRequired flag correctly." into gingerbread

parents fa3c91a6 3e6fae97
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -48,13 +48,14 @@ class CommandDetails extends ValueObject implements Parcelable {
    }

    public CommandDetails(Parcel in) {
        compRequired = true;
        compRequired = in.readInt() != 0;
        commandNumber = in.readInt();
        typeOfCommand = in.readInt();
        commandQualifier = in.readInt();
    }

    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(compRequired ? 1 : 0);
        dest.writeInt(commandNumber);
        dest.writeInt(typeOfCommand);
        dest.writeInt(commandQualifier);