Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6710298 authored by Venkatarama Avadhani's avatar Venkatarama Avadhani
Browse files

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
parent 41041d6d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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>();