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

Commit 264254b2 authored by Conley Owens's avatar Conley Owens Committed by Android Git Automerger
Browse files

am a6590e7f: am 13b21e60: Merge "Auto hide virtual keyboard"

* commit 'a6590e7f':
  Auto hide virtual keyboard
parents 5e3562a5 a6590e7f
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -929,6 +929,10 @@ public class WindowManagerService extends IWindowManager.Stub
                        && w.mAttrs.type == WindowManager.LayoutParams.TYPE_APPLICATION_STARTING
                        && w.mAttrs.type == WindowManager.LayoutParams.TYPE_APPLICATION_STARTING
                        && i > 0) {
                        && i > 0) {
                    WindowState wb = localmWindows.get(i-1);
                    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)) {
                    if (wb.mAppToken == w.mAppToken && canBeImeTarget(wb)) {
                        i--;
                        i--;
                        w = wb;
                        w = wb;