mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
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:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user