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

Commit c2c72dae authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix serialization bug in GpsNavigationMessage" into rvc-qpr-dev

parents 1aa8be86 aa03fae4
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -262,12 +262,8 @@ public class GpsNavigationMessage implements Parcelable {
            parcel.readByteArray(data);
            navigationMessage.setData(data);

            if (parcel.dataAvail() >= Integer.SIZE) {
            int status = parcel.readInt();
            navigationMessage.setStatus((short) status);
            } else {
                navigationMessage.setStatus(STATUS_UNKNOWN);
            }

            return navigationMessage;
        }