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

Commit 53b2c23a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use isDisplayed instead of isOnScreen" into main

parents 54f45c12 d35a5aca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1736,7 +1736,7 @@ public class DisplayPolicy {

        // Show IME over the keyguard if the target allows it.
        final boolean showImeOverKeyguard =
                imeTarget != null && imeTarget.isOnScreen() && win.mIsImWindow && (
                imeTarget != null && win.mIsImWindow && imeTarget.isDisplayed() && (
                        imeTarget.canShowWhenLocked() || !imeTarget.canBeHiddenByKeyguard());
        if (showImeOverKeyguard) {
            return false;