Merge "Do nothing if hideSoftInput is called from not focused client." into mnc-dev

This commit is contained in:
Seigo Nonaka
2015-05-06 23:08:03 +00:00
committed by Android (Google) Code Review

View File

@@ -2038,11 +2038,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
if (!mIWindowManager.inputMethodClientHasFocus(client)) {
if (DEBUG) Slog.w(TAG, "Ignoring hideSoftInput of uid "
+ uid + ": " + client);
setImeWindowVisibilityStatusHiddenLocked();
return false;
}
} catch (RemoteException e) {
setImeWindowVisibilityStatusHiddenLocked();
return false;
}
}