History log of /frameworks/native/services/sensorservice/hidl/EventQueue.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
06d46fda66f7e6cc144a195ac6dc065bca2e3616 20-Apr-2017 Yifan Hong <elsk@google.com> Fix reference loop in IEventQueue implementation.

EventQueue's destructor is never called because
EventQueueLooperCallback has a strong reference to it,
and EventQueueLooperCallback is never destroyed because
the file descriptor is never removed from the looper.

Bug: 37280081
Test: camera works
Test: event queue is destroyed when client removes
its reference (from logcat)

Change-Id: I12347b6d1cca354288382555d2d9a20acfa59233
/frameworks/native/services/sensorservice/hidl/EventQueue.h
95c7a0636763c0861d46425709befe90a3919c04 29-Mar-2017 Yifan Hong <elsk@google.com> Implement android.frameworks.sensorservice@1.0::IEventQueue.

Test: pass
Bug: 35219747
Change-Id: I52ddd64db500c23db22768fc0603bce0cc14f8c6
/frameworks/native/services/sensorservice/hidl/EventQueue.h