Fix wrong alpha value when animation IME with split
Update condition of setting IME_ANIMATION_NO_ALPHA flag when animating IME in portait split screen to support both show/hide directions. Fix: 275141725 Test: http://recall/-/fLARJNt42LVxc3tt86SneW/fDv7mcCDczBn2O4WZIMqnr Change-Id: I459fb16e11fc754e204af23753248ca301261ef5
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user