summaryrefslogtreecommitdiff
path: root/transport/HidlTransportSupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'transport/HidlTransportSupport.cpp')
-rw-r--r--transport/HidlTransportSupport.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/transport/HidlTransportSupport.cpp b/transport/HidlTransportSupport.cpp
index e645cd0..d0ac243 100644
--- a/transport/HidlTransportSupport.cpp
+++ b/transport/HidlTransportSupport.cpp
@@ -128,12 +128,7 @@ bool interfacesEqual(const sp<IBase>& left, const sp<IBase>& right) {
namespace details {
int32_t getPidIfSharable() {
-#if LIBHIDL_TARGET_DEBUGGABLE
return getpid();
-#else
- using android::hidl::manager::V1_0::IServiceManager;
- return static_cast<int32_t>(IServiceManager::PidConstant::NO_PID);
-#endif
}
} // namespace details