Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3ada360 authored by Taran Singh's avatar Taran Singh Committed by Android (Google) Code Review
Browse files

Merge "Skip creating control when animation is cancelled."

parents 9e38f2dd 05ed8f3d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -240,6 +240,10 @@ class InsetsSourceProvider {
            target = target.getWindow().getImeControlTarget();
        }

        if (mWin != null && mWin.getSurfaceControl() == null) {
            // if window doesn't have a surface, set it null and return.
            setWindow(null, null, null);
        }
        if (mWin == null) {
            mControlTarget = target;
            return;