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

Commit 13b21e60 authored by Conley Owens's avatar Conley Owens Committed by Android Code Review
Browse files

Merge "Auto hide virtual keyboard"

parents a538b4a2 44ad61c3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -929,6 +929,10 @@ public class WindowManagerService extends IWindowManager.Stub
                        && w.mAttrs.type == WindowManager.LayoutParams.TYPE_APPLICATION_STARTING
                        && i > 0) {
                    WindowState wb = localmWindows.get(i-1);
                    while (i > 1 && wb.mAppToken == w.mAppToken && !canBeImeTarget(wb)) {
                        i--;
                        wb = localmWindows.get(i-1);
                    }
                    if (wb.mAppToken == w.mAppToken && canBeImeTarget(wb)) {
                        i--;
                        w = wb;