File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
telephony/java/com/android/internal/telephony/cat Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,14 @@ public boolean compareTo(CommandDetails other) {
4848 }
4949
5050 public CommandDetails (Parcel in ) {
51- compRequired = true ;
51+ compRequired = in . readInt () != 0 ;
5252 commandNumber = in .readInt ();
5353 typeOfCommand = in .readInt ();
5454 commandQualifier = in .readInt ();
5555 }
5656
5757 public void writeToParcel (Parcel dest , int flags ) {
58+ dest .writeInt (compRequired ? 1 : 0 );
5859 dest .writeInt (commandNumber );
5960 dest .writeInt (typeOfCommand );
6061 dest .writeInt (commandQualifier );
@@ -103,4 +104,4 @@ class ItemsIconId extends ValueObject {
103104 ComprehensionTlvTag getTag () {
104105 return ComprehensionTlvTag .ITEM_ICON_ID_LIST ;
105106 }
106- }
107+ }
You can’t perform that action at this time.
0 commit comments