diff options
-rw-r--r-- | confirmationui/1.0/default/service.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/confirmationui/1.0/default/service.cpp b/confirmationui/1.0/default/service.cpp index 58ec66aba5..39f3f62b00 100644 --- a/confirmationui/1.0/default/service.cpp +++ b/confirmationui/1.0/default/service.cpp @@ -27,6 +27,7 @@ using android::hardware::joinRpcThreadpool; using android::hardware::confirmationui::V1_0::implementation::ConfirmationUI; int main() { + ::android::hardware::configureRpcThreadpool(1, true /*willJoinThreadpool*/); auto confirmationui = new ConfirmationUI(); auto status = confirmationui->registerAsService(); if (status != android::OK) { |