diff options
| author | 2022-08-01 15:00:06 -0400 | |
|---|---|---|
| committer | 2022-08-01 23:47:47 +0000 | |
| commit | c63f3f259cf9d955286162effca35e5495f5cd89 (patch) | |
| tree | 194a919c8585460031e2020676edfece6403e21b | |
| parent | 3614185d38196a1e69f1d02c99867b599ab4449d (diff) | |
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 <danielzhang130@gmail.com>
Change-Id: I9afd3ae66ca03f391b272ac0524593395ffe53fa
| -rw-r--r-- | core/java/android/os/Parcel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/os/Parcel.java b/core/java/android/os/Parcel.java index 9649d3875342..5eb4d8e3c0a4 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); |