Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18d611b2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Use sync transaction for insets animation" into sc-v2-dev am: eb1cd021

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15824243

Change-Id: I2ef22635fd83a1263b605b73d464b9e7f8e59fcf
parents 2034ed11 eb1cd021
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ class InsetsSourceProvider {
                        && mWin.okToDisplay()) {
                    mWin.applyWithNextDraw(mSetLeashPositionConsumer);
                } else {
                    mSetLeashPositionConsumer.accept(mWin.getPendingTransaction());
                    mSetLeashPositionConsumer.accept(mWin.getSyncTransaction());
                }
            }
            if (mServerVisible && !mLastSourceFrame.equals(mSource.getFrame())) {
@@ -331,7 +331,7 @@ class InsetsSourceProvider {
        if (getSource().getType() == ITYPE_IME) {
            setClientVisible(target.getRequestedVisibility(mSource.getType()));
        }
        final Transaction t = mDisplayContent.getPendingTransaction();
        final Transaction t = mDisplayContent.getSyncTransaction();
        mWin.startAnimation(t, mAdapter, !mClientVisible /* hidden */,
                ANIMATION_TYPE_INSETS_CONTROL);