am d8ccd712
: Merge "Parcel compRequired flag correctly."
* commit 'd8ccd712dac9e8f4e8068b02f5ca55b014de831a': Parcel compRequired flag correctly.
This commit is contained in:
committed by
Android Git Automerger
commit
2dd63ccdb0
@ -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);
|
||||
@ -103,4 +104,4 @@ class ItemsIconId extends ValueObject {
|
||||
ComprehensionTlvTag getTag() {
|
||||
return ComprehensionTlvTag.ITEM_ICON_ID_LIST;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user