Merge "CAS AIDL: Start thread pool for default service" into main

This commit is contained in:
Treehugger Robot 2023-11-10 04:14:03 +00:00 committed by Gerrit Code Review
commit 0ff72a9189

View file

@ -31,6 +31,7 @@ using aidl::android::hardware::cas::MediaCasService;
int main() { int main() {
ABinderProcess_setThreadPoolMaxThreadCount(8); ABinderProcess_setThreadPoolMaxThreadCount(8);
ABinderProcess_startThreadPool();
// Setup hwbinder service // Setup hwbinder service
std::shared_ptr<MediaCasService> service = ::ndk::SharedRefBase::make<MediaCasService>(); std::shared_ptr<MediaCasService> service = ::ndk::SharedRefBase::make<MediaCasService>();