* commit 'a6590e7fee1ef4286f0896358593fdb9aab24f6c': Auto hide virtual keyboard
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user