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:
parent
41041d6d9c
commit
a6710298c8
1 changed files with 1 additions and 0 deletions
|
@ -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>();
|
||||
|
|
Loading…
Reference in a new issue