Merge "Improve IME flicker when switching to work-profile task"
This commit is contained in:
committed by
Android (Google) Code Review
commit
83cb27a74f
@@ -218,7 +218,6 @@ import android.view.Surface.Rotation;
|
||||
import android.view.SurfaceControl;
|
||||
import android.view.SurfaceControl.Transaction;
|
||||
import android.view.SurfaceSession;
|
||||
import android.view.View;
|
||||
import android.view.WindowInsets;
|
||||
import android.view.WindowManager;
|
||||
import android.view.WindowManager.DisplayImePolicy;
|
||||
@@ -1702,8 +1701,7 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
|
||||
case SOFT_INPUT_STATE_HIDDEN:
|
||||
return false;
|
||||
}
|
||||
return r.mLastImeShown && mInputMethodWindow != null && mInputMethodWindow.mHasSurface
|
||||
&& mInputMethodWindow.mViewVisibility == View.VISIBLE;
|
||||
return r.mLastImeShown;
|
||||
}
|
||||
|
||||
/** Returns {@code true} if the top activity is transformed with the new rotation of display. */
|
||||
|
||||
Reference in New Issue
Block a user