We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a1c5a1 + f4c9b48 commit f5883dbCopy full SHA for f5883db
1 file changed
libs/binder/Parcel.cpp
@@ -1585,10 +1585,15 @@ status_t Parcel::writeFileDescriptor(int fd, bool takeOwnership) {
1585
fdVariant = borrowed_fd(fd);
1586
}
1587
if (!mAllowFds) {
1588
+ ALOGE("FDs are not allowed in this parcel. Both the service and the client must set "
1589
+ "the FileDescriptorTransportMode and agree on the support.");
1590
return FDS_NOT_ALLOWED;
1591
1592
switch (rpcFields->mSession->getFileDescriptorTransportMode()) {
1593
case RpcSession::FileDescriptorTransportMode::NONE: {
1594
+ ALOGE("FDs are not allowed in this RpcSession. Both the service and the client "
1595
+ "must set "
1596
1597
1598
1599
case RpcSession::FileDescriptorTransportMode::UNIX:
0 commit comments