diff options
author | 2019-09-17 15:37:04 -0700 | |
---|---|---|
committer | 2019-09-17 15:37:04 -0700 | |
commit | 8ea008771ef5994ef735645d2afab0465da9aeec (patch) | |
tree | 4557b2d0bc82ed5c775634fad8437d0c3477d2b7 /libs/binder/ProcessState.cpp | |
parent | 800f31efbdc5e38d6f54a401e068902f609b8ef1 (diff) | |
parent | 68ff4b6e913e4c7dcc2debb969da6be1297b82b7 (diff) |
Merge "libbinder: on host" am: a8cb8d7624 am: 240e58191c am: 07bc79d333
am: 68ff4b6e91
Change-Id: I2ab4aea327a0ecd8840699fe68c4fd2df9ff2a4c
Diffstat (limited to 'libs/binder/ProcessState.cpp')
-rw-r--r-- | libs/binder/ProcessState.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index 07db50f7b3..eb828c3ce4 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -189,7 +189,8 @@ ssize_t ProcessState::getKernelReferences(size_t buf_count, uintptr_t* buf) } void ProcessState::setCallRestriction(CallRestriction restriction) { - LOG_ALWAYS_FATAL_IF(IPCThreadState::selfOrNull(), "Call restrictions must be set before the threadpool is started."); + LOG_ALWAYS_FATAL_IF(IPCThreadState::selfOrNull() != nullptr, + "Call restrictions must be set before the threadpool is started."); mCallRestriction = restriction; } |