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

Commit f430b267 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:...

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

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

Change-Id: I36290f29e59b3cc0d5a321ace58f729ed21e4de6
parents 31687fbe c46a977d
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;
        }