summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventReceiver.cpp
diff options
context:
space:
mode:
author Brian Duddie <bduddie@google.com> 2019-05-30 09:52:28 -0700
committer Brian Duddie <bduddie@google.com> 2019-05-30 14:52:58 -0700
commit6d2e37562f38d69ac78e5a0ab21565e7e90c474a (patch)
tree3694acbaa20598dfae793aca4a565f45f9f94a93 /libs/gui/DisplayEventReceiver.cpp
parent8e6f31c1a712dac6303052f1ead05a38ac1666c2 (diff)
Avoid deadlock if HAL dies at init
The SensorDevice constructor is invoked with the Singleton lock held, so ensure we won't attempt to call getInstance() from this context via handleHidlDeath(). Bug: 133445520 Test: use custom HAL that crashes at first getSensorList query, verify framework does not deadlock Change-Id: Ia0903412cdb30474c962687bc95b8df6bf2df25e
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions