summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.cpp
diff options
context:
space:
mode:
author Tomasz Wasilczyk <twasilczyk@google.com> 2023-06-28 14:04:51 -0700
committer Tomasz Wasilczyk <twasilczyk@google.com> 2023-06-28 15:59:05 -0700
commit7b5430b3290dd2575f7648a91a019ef2b2222480 (patch)
treec3807d32356eafaf4ec19befc75e9a150c58cd88 /libs/binder/RpcState.cpp
parentd9154a7aa243eba9ca6ffeb90143b1f31d22dfee (diff)
Make sure to handle new RpcSession::FileDescriptorTransportMode
Bug: 289151149 Test: binder_rpc_test Change-Id: I0944e94e52219c6f040c304f50e70a16f5ae25cd
Diffstat (limited to 'libs/binder/RpcState.cpp')
-rw-r--r--libs/binder/RpcState.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp
index 5c1b2305a6..bac2808b26 100644
--- a/libs/binder/RpcState.cpp
+++ b/libs/binder/RpcState.cpp
@@ -63,6 +63,7 @@ static bool enableAncillaryFds(RpcSession::FileDescriptorTransportMode mode) {
case RpcSession::FileDescriptorTransportMode::TRUSTY:
return true;
}
+ LOG_ALWAYS_FATAL("Invalid FileDescriptorTransportMode: %d", static_cast<int>(mode));
}
RpcState::RpcState() {}