summaryrefslogtreecommitdiff
path: root/vibrator/aidl/default/VibratorManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vibrator/aidl/default/VibratorManager.cpp')
-rw-r--r--vibrator/aidl/default/VibratorManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vibrator/aidl/default/VibratorManager.cpp b/vibrator/aidl/default/VibratorManager.cpp
index 7cf9e6a5d8..26edf5a805 100644
--- a/vibrator/aidl/default/VibratorManager.cpp
+++ b/vibrator/aidl/default/VibratorManager.cpp
@@ -66,7 +66,7 @@ ndk::ScopedAStatus VibratorManager::prepareSynced(const std::vector<int32_t>& vi
ndk::ScopedAStatus VibratorManager::triggerSynced(
const std::shared_ptr<IVibratorCallback>& callback) {
LOG(INFO) << "Vibrator Manager trigger synced";
- std::thread([=] {
+ std::thread([callback] {
if (callback != nullptr) {
LOG(INFO) << "Notifying perform complete";
callback->onComplete();