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
This commit is contained in:
Venkatarama Avadhani 2023-11-07 20:26:31 +05:30
parent 41041d6d9c
commit a6710298c8

View file

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