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

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

Merge "Fix serialization bug in GpsNavigationMessage" into sc-v2-dev am: d56d1a41

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

Change-Id: Ib89af127de4218fba121c693603e15562d280ab1
parents e10d87b4 d56d1a41
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;
        }