Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a12e7b78 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents de0e5293 3baa6bda
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {