mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: parts-aidl: Use lambda
This commit is contained in:
parent
e29ee0a60e
commit
aa216cb327
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue