universal7885: parts-aidl: Use lambda

This commit is contained in:
roynatech2544 2022-10-18 13:16:43 +09:00
commit aa216cb327

View file

@ -47,7 +47,7 @@ sleep:
EX_ILLEGAL_ARGUMENT, "Start called without configuring.");
kShouldRun = true;
monitor_th = new std::thread(battery_monitor);
monitor_th = new std::thread([this] {battery_monitor();});
return ::ndk::ScopedAStatus::ok();
}