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

Commit 6f714029 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add API level to comment to marshal/unmarshal." am: 963b7bba

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1826579

Change-Id: I9318c048cbb0e1cf8eacfee55aeb42966ae46fe7
parents 853e51c9 963b7bba
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1167,6 +1167,8 @@ AParcel* AParcel_create() __INTRODUCED_IN(31);
/**
 * Marshals the raw bytes of the Parcel to a buffer.
 *
 * Available since API level 33.
 *
 * The parcel must not contain any binders or file descriptors.
 *
 * The data you retrieve here must not be placed in any kind of persistent storage. (on local disk,
@@ -1189,6 +1191,8 @@ binder_status_t AParcel_marshal(const AParcel* parcel, uint8_t* buffer, size_t s
/**
 * Set the data in the parcel to the raw bytes from the buffer.
 *
 * Available since API level 33.
 *
 * \param parcel The parcel to set data.
 * \param buffer The data buffer to set.
 * \param len The size of the data to set.