diff options
Diffstat (limited to 'libs/binder/ProcessState.cpp')
| -rw-r--r-- | libs/binder/ProcessState.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index e2ab515649..4f21cda4a1 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -93,9 +93,7 @@ sp<ProcessState> ProcessState::selfOrNull() [[clang::no_destroy]] static std::mutex gProcessMutex; static void verifyNotForked(bool forked) { - if (forked) { - ALOGE("libbinder does not support being forked"); - } + LOG_ALWAYS_FATAL_IF(forked, "libbinder ProcessState can not be used after fork"); } sp<ProcessState> ProcessState::init(const char *driver, bool requireDefault) |