diff options
author | Stanislav Zholnin <zholnin@google.com> | 2021-05-14 21:11:50 +0100 |
---|---|---|
committer | Stanislav Zholnin <zholnin@google.com> | 2021-05-15 11:03:29 +0100 |
commit | 20091903f60c0d3887da18c47f7e69dd2fb39d5b (patch) | |
tree | 236b67f6a766412e910b216a4bdefe3ca62b28e9 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 7f1f8d0bcd1456fd47a42d5f0afc5cea39495091 (diff) |
Make DiscreteRegistry react only to offsetHistory() calls made as TestApi call.
Initialize DiscreteRegistry first as it doesn't depend on HistoricalRegistry.
There was a wrong assumption that HistoricalRegistry.offsetHistory() is used only for
testing, which was not correct, thus calls to offsetHistory() made during normal
operations of HistoricalRegistry could lead to deadlocks and corruption of timestamps
in DiscreteRegistry.
Fix: 188111112
Fix: 187490443
Bug: 187907266
Test: atest DiscreteAppopsTest
Change-Id: I97aadab497ffea5dd91e6d581bdc39e0a5df3718
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions