summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-12-12 08:52:05 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-12-12 08:52:05 -0800
commit3632e6826fe520ae5cdf56741b80029b324cb723 (patch)
treec0798bdfc7fd97736307281450f723e2d22bc1df
parent2546d48223f5b5cb12536bf7bb521ed8b166c29e (diff)
parent065201c28d2c19148b940a6e884d911638a04a07 (diff)
downloadlibhwbinder-3632e6826fe520ae5cdf56741b80029b324cb723.tar.gz
ProcessState: don't require /dev/hwbinder on host.
am: 065201c28d Change-Id: I101169e9bcdd9f244ac0fc7deb62fd63d923c618
-rw-r--r--ProcessState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ProcessState.cpp b/ProcessState.cpp
index caf1888..694efd1 100644
--- a/ProcessState.cpp
+++ b/ProcessState.cpp
@@ -455,7 +455,9 @@ ProcessState::ProcessState(size_t mmap_size)
}
}
+#ifdef __ANDROID__
LOG_ALWAYS_FATAL_IF(mDriverFD < 0, "Binder driver could not be opened. Terminating.");
+#endif
}
ProcessState::~ProcessState()