commit | 134266b6136e6bd20bc9991b8402470011315321 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Tue Mar 03 19:22:29 2020 -0800 |
committer | Alec Mouri <alecmouri@google.com> | Wed Mar 04 13:27:44 2020 -0800 |
tree | fcb1aae58aee8f2eb3c8e75c22ba443074b11f01 | |
parent | 1c7bc86a9b1bdf16b240a96d083102127f036325 [diff] |
[AChoreographer] Resolves a deadlock This deadlock could occur when posting a delayed frame callback while a pending refresh rate callback had not yet been processed by the looper thread. Resolve the deadlock by releasing the lock in Choreographer::scheduleCallbacks once the earliest dueTime is retrieved. Bug: 150731776 Test: ChoreographerNativeTest Change-Id: I9e1ace12beb4bbc75af0671ddf1b1653d04c9df4