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

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

Merge "Fix serialization bug in GpsNavigationMessage"

parents adae7c8a dedaa901
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;
        }