Skip to content

Commit e0d2cd4

Browse files
Treehugger Robotandroid-build-merge-worker-robot
authored andcommitted
Merge "libbinder: make writeObject private" into main am: 5ee04a1 am: 4ce0bd9
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3434386 Change-Id: I7b648aabe3a59583e41e67985390b0a2f05cd1a9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2 parents a93496f + 4ce0bd9 commit e0d2cd4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

libs/binder/include/binder/Parcel.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,6 @@ class Parcel {
401401
// as long as it keeps a dup of the blob file descriptor handy for later.
402402
LIBBINDER_EXPORTED status_t writeDupImmutableBlobFileDescriptor(int fd);
403403

404-
LIBBINDER_EXPORTED status_t writeObject(const flat_binder_object& val, bool nullMetaData);
405-
406404
// Like Parcel.java's writeNoException(). Just writes a zero int32.
407405
// Currently the native implementation doesn't do any of the StrictMode
408406
// stack gathering and serialization that the Java implementation does.
@@ -685,6 +683,7 @@ class Parcel {
685683
// Set the capacity to `desired`, truncating the Parcel if necessary.
686684
status_t continueWrite(size_t desired);
687685
status_t truncateRpcObjects(size_t newObjectsSize);
686+
status_t writeObject(const flat_binder_object& val, bool nullMetaData);
688687
status_t writePointer(uintptr_t val);
689688
status_t readPointer(uintptr_t *pArg) const;
690689
uintptr_t readPointer() const;

0 commit comments

Comments
 (0)