Merge "confirmationui: explicitly declare only one thread." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-05-26 00:15:30 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {