commit | 0540d280036757c36fd52992c9986a7864cc794f | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon May 08 16:03:11 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon May 08 16:03:11 2017 -0700 |
tree | 80981546eaa47bc443801639042f33c7324b5894 | |
parent | ac3dc8fd946cd01482a579ea6bf6ecbf05d6fd3d [diff] [blame] |
TaskRunner: move implementation to cpp Test: hidl_test Bug: 35710429 Change-Id: If5b6ece1bc08e27bb818eec0eae33c4a842106ad
diff --git a/base/TaskRunner.cpp b/base/TaskRunner.cpp index 33117e7..782b40b 100644 --- a/base/TaskRunner.cpp +++ b/base/TaskRunner.cpp
@@ -43,6 +43,10 @@ } } +bool TaskRunner::push(const Task &t) { + return (mQueue != nullptr) && (!!t) && this->mQueue->push(t); +} + } // namespace details } // namespace hardware } // namespace android