We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0f160c9 + 73f5618 commit d8ccd71Copy full SHA for d8ccd71
1 file changed
telephony/java/com/android/internal/telephony/cat/CommandDetails.java
@@ -48,13 +48,14 @@ public boolean compareTo(CommandDetails other) {
48
}
49
50
public CommandDetails(Parcel in) {
51
- compRequired = true;
+ compRequired = in.readInt() != 0;
52
commandNumber = in.readInt();
53
typeOfCommand = in.readInt();
54
commandQualifier = in.readInt();
55
56
57
public void writeToParcel(Parcel dest, int flags) {
58
+ dest.writeInt(compRequired ? 1 : 0);
59
dest.writeInt(commandNumber);
60
dest.writeInt(typeOfCommand);
61
dest.writeInt(commandQualifier);
@@ -103,4 +104,4 @@ class ItemsIconId extends ValueObject {
103
104
ComprehensionTlvTag getTag() {
105
return ComprehensionTlvTag.ITEM_ICON_ID_LIST;
106
-}
107
+}
0 commit comments