Merge "Use the same transaction to set position of the leash" into udc-dev

This commit is contained in:
Tiger Huang
2023-06-07 07:41:58 +00:00
committed by Android (Google) Code Review

View File

@@ -454,7 +454,7 @@ class InsetsSourceProvider {
if (mSource.getType() == WindowInsets.Type.ime()) {
setClientVisible(target.isRequestedVisible(WindowInsets.Type.ime()));
}
final Transaction t = mDisplayContent.getSyncTransaction();
final Transaction t = mWindowContainer.getSyncTransaction();
mWindowContainer.startAnimation(t, mAdapter, !mClientVisible /* hidden */,
ANIMATION_TYPE_INSETS_CONTROL);