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

Commit feb9a2aa authored by Hu Chunming's avatar Hu Chunming
Browse files

Fix issue that MO call disconnect automatically when user accept

another MT call in DSDA mode.

The issue is due to call object serialization is wrong, so get
the invalid phone id in CallList.java.

Correct call serialization in Telecom.

CRs-Fixed: 732358

Change-Id: Ic59d0ad6bfbdc15f4b611e804c4acc060527aeb8
parent 392b71a5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -276,10 +276,8 @@ public final class ParcelableCall implements Parcelable {
            List<String> conferenceableCallIds = new ArrayList<>();
            source.readList(conferenceableCallIds, classLoader);
            Bundle extras = source.readParcelable(classLoader);
            int notificationType = source.readInt();
            int code = source.readInt();
            boolean isActiveSub = (source.readInt() == 1) ? true : false;
            int callSubstate = source.readInt();
            boolean isActiveSub = source.readInt() == 1;
            return new ParcelableCall(
                    id,
                    state,