summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-05-26 00:15:30 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-05-26 00:15:30 +0000
commita12e7b7847958fd57144ea643fed971543dbf353 (patch)
treeb79d061eeed31aeb38902c9b63f66553eef9b924
parentde0e5293bd68b5956561c9e2547b9d61a08154ba (diff)
parent3baa6bda4dc55213b46ba2e48e0d549c52e02449 (diff)
downloadplatform_hardware_interfaces-a12e7b7847958fd57144ea643fed971543dbf353.tar.gz
platform_hardware_interfaces-a12e7b7847958fd57144ea643fed971543dbf353.tar.bz2
platform_hardware_interfaces-a12e7b7847958fd57144ea643fed971543dbf353.zip
Merge "confirmationui: explicitly declare only one thread." into pi-dev
-rw-r--r--confirmationui/1.0/default/service.cpp1
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) {