diff options
| author | Nick Chameyev <nickchameyev@google.com> | 2022-04-01 16:48:22 +0100 |
|---|---|---|
| committer | Nick Chameyev <nickchameyev@google.com> | 2022-04-01 16:48:22 +0100 |
| commit | b7620ab4f2723019658814c926e422efc8f46d62 (patch) | |
| tree | 893f7a4bec92e020111d93cd6be66644303cb0ea /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 941937ea1cf0958671688b3a0a8ad9e0f400af5c (diff) | |
Use async callback for unfold overlay synchronization
Replaces synchronous applying of unfold black overlay
transactions with async versions of apply method.
To wait for applying of the second transaction it uses
the new addTransactionCommittedListener API in
SurfaceControl.Transaction.
This also fixes a problem that sometimes the overlay
is not shown when unfolding.
Bug: 227595670
Test: unfold multiple times and check that
the scrim is visible
Change-Id: Iaa6a8246e592f0bd0d67df755c73be2b3912d157
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
