From c63f3f259cf9d955286162effca35e5495f5cd89 Mon Sep 17 00:00:00 2001 From: danielzhang130 Date: Mon, 1 Aug 2022 15:00:06 -0400 Subject: [PATCH] Reword ambiguous documentation in Parcel - original documentation for Parcel.unmarshall could be understood both ways: Parcel written with bytes of data, data written with bytes of Parcel Test: Not applicable Signed-off-by: danielzhang130 Change-Id: I9afd3ae66ca03f391b272ac0524593395ffe53fa --- core/java/android/os/Parcel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/os/Parcel.java b/core/java/android/os/Parcel.java index 9649d3875342b..5eb4d8e3c0a40 100644 --- a/core/java/android/os/Parcel.java +++ b/core/java/android/os/Parcel.java @@ -767,7 +767,7 @@ public final class Parcel { } /** - * Set the bytes in data to be the raw bytes of this Parcel. + * Fills the raw bytes of this Parcel with the supplied data. */ public final void unmarshall(@NonNull byte[] data, int offset, int length) { nativeUnmarshall(mNativePtr, data, offset, length);