Merge "Merge "Fix floating IME visibility" into rvc-dev am: 292da01e06 am: 84a75c62f1" into rvc-d1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
674b8384b5
@@ -196,11 +196,10 @@ public class InsetsAnimationControlImpl implements WindowInsetsAnimationControll
|
||||
if (mCancelled || mFinished) {
|
||||
return;
|
||||
}
|
||||
mShownOnFinish = shown;
|
||||
setInsetsAndAlpha(shown ? mShownInsets : mHiddenInsets, 1f /* alpha */, 1f /* fraction */);
|
||||
mFinished = true;
|
||||
mListener.onFinished(this);
|
||||
|
||||
mShownOnFinish = shown;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -301,7 +300,7 @@ public class InsetsAnimationControlImpl implements WindowInsetsAnimationControll
|
||||
.withAlpha(side == ISIDE_FLOATING ? 1 : alpha)
|
||||
.withMatrix(mTmpMatrix)
|
||||
.withVisibility(side == ISIDE_FLOATING
|
||||
? state.getSource(source.getType()).isVisible()
|
||||
? mShownOnFinish
|
||||
: inset != 0 /* visible */)
|
||||
.build();
|
||||
surfaceParams.add(params);
|
||||
|
||||
Reference in New Issue
Block a user