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

Commit 554beb58 authored by Anil Muthineni's avatar Anil Muthineni
Browse files

Write size of operators in writeToParcel()

- So that the operators are read correctly while reading
  from parcel.

Bug: 21563489
Change-Id: Icb5571a261144810f075855372791d4291255eec
parent 450176c5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -88,6 +88,7 @@ public class CellNetworkScanResult implements Parcelable {
    public void writeToParcel(Parcel out, int flags) {
        out.writeInt(mStatus);
        if (mOperators != null && mOperators.size() > 0) {
            out.writeInt(mOperators.size());
            for (OperatorInfo network : mOperators) {
                network.writeToParcel(out, flags);
            }