Files
device_google_wahoo/power
Wei Wang 442a23d628 make InteractionHandler thread safe
InteractionHandler calls undo_hint_action in a separate thread, where
undo_hint_action manipulates a linklist which is not protected by any
locking method.

std::lock_guard<std::mutex> lk(mLock) protects insides
InteractionHandler class, but the linklist is also used in other places
of PowerHAL such as Encoder hint.

Bug: 71383315
Test: Build
Change-Id: I81e2c79ab78ed7bd13ddc663ddbe86fa08f29337
2017-12-28 10:22:18 -08:00
..