Merge "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