From 7b5430b3290dd2575f7648a91a019ef2b2222480 Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Wed, 28 Jun 2023 14:04:51 -0700 Subject: Make sure to handle new RpcSession::FileDescriptorTransportMode Bug: 289151149 Test: binder_rpc_test Change-Id: I0944e94e52219c6f040c304f50e70a16f5ae25cd --- libs/binder/RpcState.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/binder/RpcState.cpp') 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(mode)); } RpcState::RpcState() {} -- cgit v1.2.3-59-g8ed1b