* commit '2dd63ccdb0e4109d03c51a002ff785c9d8a8ccb9': Parcel compRequired flag correctly.
This commit is contained in:
committed by
Android Git Automerger
commit
a310500f6c
@ -48,13 +48,14 @@ class CommandDetails extends ValueObject implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public CommandDetails(Parcel in) {
|
public CommandDetails(Parcel in) {
|
||||||
compRequired = true;
|
compRequired = in.readInt() != 0;
|
||||||
commandNumber = in.readInt();
|
commandNumber = in.readInt();
|
||||||
typeOfCommand = in.readInt();
|
typeOfCommand = in.readInt();
|
||||||
commandQualifier = in.readInt();
|
commandQualifier = in.readInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void writeToParcel(Parcel dest, int flags) {
|
public void writeToParcel(Parcel dest, int flags) {
|
||||||
|
dest.writeInt(compRequired ? 1 : 0);
|
||||||
dest.writeInt(commandNumber);
|
dest.writeInt(commandNumber);
|
||||||
dest.writeInt(typeOfCommand);
|
dest.writeInt(typeOfCommand);
|
||||||
dest.writeInt(commandQualifier);
|
dest.writeInt(commandQualifier);
|
||||||
@ -111,4 +112,4 @@ class ItemsIconId extends ValueObject {
|
|||||||
ComprehensionTlvTag getTag() {
|
ComprehensionTlvTag getTag() {
|
||||||
return ComprehensionTlvTag.ITEM_ICON_ID_LIST;
|
return ComprehensionTlvTag.ITEM_ICON_ID_LIST;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user