Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6d2e3756 authored by Brian Duddie's avatar Brian Duddie
Browse files

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
parent 8e6f31c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment