summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposer.cpp
diff options
context:
space:
mode:
author Adrian Salido <salidoa@google.com> 2022-02-17 19:22:31 -0800
committer Adrian Salido <salidoa@google.com> 2022-03-04 22:30:15 +0000
commita942af8a8f7774de0f090525d90c97ba50f3cc0e (patch)
treecf83e346908d1e39760ee214ac710af5d39cc36a /libs/gui/ISurfaceComposer.cpp
parent57b91217ff8cda372dbce11093a2276f1ca39a25 (diff)
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
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
0 files changed, 0 insertions, 0 deletions