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

Commit c341b395 authored by Cosmin Băieș's avatar Cosmin Băieș Committed by Android (Google) Code Review
Browse files

Merge "Remove explicit IME layering target set to null" into main

parents 28bfe550 62b8b428
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2206,9 +2206,6 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        if (isImeLayeringTarget()) {
            // Remove the attached IME screenshot.
            dc.removeImeScreenshotByTarget(this);
            // Set mImeLayeringTarget as null when the removed window is the IME layering target,
            // in case computeImeLayeringTarget may use the outdated target.
            dc.setImeLayeringTarget(null /* target */);
            dc.computeImeLayeringTarget(true /* update */);
        }
        if (dc.getImeInputTarget() == this && !inRelaunchingActivity()) {