Merge "Fix wrong alpha value when animation IME with split" into udc-dev

This commit is contained in:
Jerry Chang
2023-03-31 01:00:27 +00:00
committed by Android (Google) Code Review

View File

@@ -1120,7 +1120,7 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
setDividerInteractive(!mImeShown || !mHasImeFocus || isFloating, true,
"onImeStartPositioning");
return needOffset ? IME_ANIMATION_NO_ALPHA : 0;
return mTargetYOffset != mLastYOffset ? IME_ANIMATION_NO_ALPHA : 0;
}
@Override