commit | 11db98694208cefcdd06fdaad2a63514b168d27f | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Fri Jun 21 22:06:14 2024 +0000 |
committer | Vishnu Nair <vishnun@google.com> | Fri Jun 21 22:14:22 2024 +0000 |
tree | bab285b8fd4b4111c1a8d0c7901b2942e2198679 | |
parent | e5b8ea3099cf14087d1d1209cde1aa1bc77ed1fb [diff] |
Get window info debug data without holding the statelock Avoids a deadlock with mStateLock when calling dumpsys SurfaceFlinger. Deadlock happens because we make a blocking call into the background thread holding the mStateLock. Background thread may try to hold the mStateLock when destroying a layer handle which can result in a deadlock. Flag: EXEMPT bugfix Test: presubmit, run dumpsys Fixes: 347142017 Change-Id: Icda6d4ee0ead70a4d76a4f6fe766fdf40bae6d2c