universal7885: fm-aidl: Set max threads to 3

1. support instance
2. default instance
3. binder transaction
This commit is contained in:
roynatech2544 2022-10-11 04:07:03 +00:00
commit b882728b9c

View file

@ -31,7 +31,7 @@ template <class C> static void registerAsService(std::shared_ptr<C> service, con
}
int main() {
ABinderProcess_setThreadPoolMaxThreadCount(0);
ABinderProcess_setThreadPoolMaxThreadCount(3);
registerAsService(ndk::SharedRefBase::make<FMSupport>(), "support");
registerAsService(ndk::SharedRefBase::make<FMDevControl>(), "default");