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

Commit c46a977d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15878933

Change-Id: I9030e8cced0b2b9879b377d9f3e62aed50022ccb
parents 7b3e40dd c2c72dae
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;
        }