commit | 226761ce9d060de51a9583a20ff796e2f6a4d406 | [log] [tgz] |
---|---|---|
author | Roman Kiryanov <rkir@google.com> | Tue Apr 14 23:27:24 2020 -0700 |
committer | Roman Kiryanov <rkir@google.com> | Wed Apr 15 12:12:46 2020 -0700 |
tree | 104492296dbbe5d73a5115d3bc334841e6389709 | |
parent | 542841648cfa82ee2c429a15f6dedf90524953e7 [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: I3017afe670e5a53d0d7444b3d5b34ba34f3567e3 Merged-In: Id7fb72c42dc67f89ceef93d937241e1584b853e7