diff options
| author | chaviw <chaviw@google.com> | 2021-09-03 16:19:08 -0500 |
|---|---|---|
| committer | chaviw <chaviw@google.com> | 2021-09-07 17:31:28 -0500 |
| commit | 9f19b5d19864d32f74c0cbb32f556b0b0028f1c8 (patch) | |
| tree | 6950eb471d0d5a86210061e3fbf591d560366e0f /core/java/android/util/ArrayMap.java | |
| parent | 31142f491877aa0443c580a89a2500ea8c314d81 (diff) | |
Call applyPendingTransactions when frame didn't draw
It's possible for a caller to requested mergeWithNextTransaction, but
the main frame had nothing new to draw. If that's the case, the
mergeWithNextTransactions will be stuck and never applied (or applied
much later). Since this could end up blocking Transactions, it's better
to force apply these when we know a frame wasn't going to draw this
vsync.
Test: Existing tests pass
Bug: 195262673
Change-Id: Ic0919ba6446d6a12d824185f6b3e540c2d5319d7
Diffstat (limited to 'core/java/android/util/ArrayMap.java')
0 files changed, 0 insertions, 0 deletions
