Merge "Skip IME animation cancellation during rotation" into rvc-dev am: 992c347b10
Change-Id: I7b9638c81fc8d58d66b134b8e644f6aa9e761878
This commit is contained in:
@@ -1381,7 +1381,8 @@ class WindowStateAnimator {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (isEntrance && mWin.mAttrs.type == TYPE_INPUT_METHOD) {
|
||||
final boolean isImeWindow = mWin.mAttrs.type == TYPE_INPUT_METHOD;
|
||||
if (isEntrance && isImeWindow) {
|
||||
mWin.getDisplayContent().adjustForImeIfNeeded();
|
||||
mWin.setDisplayLayoutNeeded();
|
||||
mService.mWindowPlacerLocked.requestTraversal();
|
||||
@@ -1435,11 +1436,11 @@ class WindowStateAnimator {
|
||||
Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER);
|
||||
mAnimationIsEntrance = isEntrance;
|
||||
}
|
||||
} else {
|
||||
} else if (!isImeWindow) {
|
||||
mWin.cancelAnimation();
|
||||
}
|
||||
|
||||
if (!isEntrance && mWin.mAttrs.type == TYPE_INPUT_METHOD) {
|
||||
if (!isEntrance && isImeWindow) {
|
||||
mWin.getDisplayContent().adjustForImeIfNeeded();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user