From a6710298c87d74f8792ff1da340ecbb7afcbebc9 Mon Sep 17 00:00:00 2001 From: Venkatarama Avadhani Date: Tue, 7 Nov 2023 20:26:31 +0530 Subject: [PATCH] CAS AIDL: Start thread pool for default service Add missing call to start the thread pool for the default CAS AIDL service. Bug: 301369982 Test: atest android.media.misc.cts.MediaCasTest#testClearKeyApis Change-Id: I6c0572f8573627a817ac5a429bd6800a95687380 --- cas/aidl/default/service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cas/aidl/default/service.cpp b/cas/aidl/default/service.cpp index bed2f01267..076c7bb84a 100644 --- a/cas/aidl/default/service.cpp +++ b/cas/aidl/default/service.cpp @@ -31,6 +31,7 @@ using aidl::android::hardware::cas::MediaCasService; int main() { ABinderProcess_setThreadPoolMaxThreadCount(8); + ABinderProcess_startThreadPool(); // Setup hwbinder service std::shared_ptr service = ::ndk::SharedRefBase::make();