mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "confirmationui: explicitly declare only one thread." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a12e7b7847
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user