Skip to content

Commit e2a665c

Browse files
author
Steven Moreland
committed
libbinder: make writeObject private
This API uses the binder kernel interface, which is not exported. It's also pretty low level, so just hide it. Bug: N/A Test: N/A Change-Id: I256445ea6801be6bf909c3675e32c33c4a13a6d3
1 parent 38a4ab9 commit e2a665c

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.
@@ -679,6 +677,7 @@ class Parcel {
679677
// Set the capacity to `desired`, truncating the Parcel if necessary.
680678
status_t continueWrite(size_t desired);
681679
status_t truncateRpcObjects(size_t newObjectsSize);
680+
status_t writeObject(const flat_binder_object& val, bool nullMetaData);
682681
status_t writePointer(uintptr_t val);
683682
status_t readPointer(uintptr_t *pArg) const;
684683
uintptr_t readPointer() const;

0 commit comments

Comments
 (0)