platform_hardware_interfaces/sensors/common/utils
Jintao Zhu cfefc7b5e8 Fix RefBase Explicit destruction
For an object to be managed by std smart pointer, its base class should NOT be "RefBase".  It is not only unnecessary but also risking the object being owned by android smart pointer as well, which may destroy the object two times.

This issue may be detected by the destructor of class RefBase, with the log complaint "RefBase: Explicit destruction,..."

Test: monkey test for one day and one night

Signed-off-by: Jintao Zhu <zhujtcsieee@gmail.com>
Change-Id: If7736770983e17f5a4125b19dfbd1745ee5a9589
2021-03-18 23:39:11 +08:00
..
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
convertV2_1.h Create wrapper for 2.0/2.1 sensor HALs 2020-02-18 13:34:56 -05:00
EventMessageQueueWrapper.h Fix RefBase Explicit destruction 2021-03-18 23:39:11 +08:00
ISensorsCallbackWrapper.h V2: Set up Multi-HAL for Sensors HAL 2.1 2020-04-30 08:45:19 -04:00
ISensorsWrapper.h Prep ISensorsWrapper to be used by the framework 2020-02-18 17:45:04 -05:00
OWNERS Create wrapper for 2.0/2.1 sensor HALs 2020-02-18 13:34:56 -05:00