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

Skip to content
Commit a942af8a authored by Adrian Salido's avatar Adrian Salido
Browse files

SF: fix deadlock while switching resolution

Trying to grab mStateLock during kernelTimerChanged could lead to
deadlock when changing resolution as display gets recreated and the idle
timer may get stopped/re-started. The deadlock could happen when
calling OneShotTimer::stop() (due to thread join) in main thread while
kernelTimerChanged is waiting for lock.

Bug: 222755257
Test: cmd display set-user-preferred-display-mode
Change-Id: I0ccc7bccdcee98722c1dced09032ab3953d851cb
parent 57b91217
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