commit | 279a5ae37efd63f247162784076c8920da7a1998 | [log] [tgz] |
---|---|---|
author | Roman Kiryanov <rkir@google.com> | Wed Apr 15 10:34:11 2020 -0700 |
committer | Roman Kiryanov <rkir@google.com> | Wed Apr 15 10:34:11 2020 -0700 |
tree | 1b89a4b3ad86b98d0d7c8287b2badb20588a8c0a | |
parent | 0260d7d1eef0a12b1b113b95a39135fc1941e750 [diff] |
Add the missing unregisterCallback call The sensor reading thread continues producing event and refers to the already destroyed callback object which causes a crash in SensorsHidlEnvironmentBase::addEvent. Bug: 153754380 Test: atest VtsHalSensorsV2_0TargetTest Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Id7fb72c42dc67f89ceef93d937241e1584b853e7