From f2e67a5779d404b4791c6ab5b0d30dfb2c463514 Mon Sep 17 00:00:00 2001 From: Vairavan Srinivasan Date: Tue, 10 Aug 2010 11:52:44 -0700 Subject: InputMethodService: Fix ignore case in showInputMethodPickerFromClient Fix to avoid posting MSG_SHOW_IM_PICKER in showInputMethodPickerFromClient when ignoring the request from the client. Change-Id: Iff8a0809aea892b4493d5cffbb91adba2d74414e --- services/java/com/android/server/InputMethodManagerService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index 5a995aed847a..bc8607eb6c38 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -1225,6 +1225,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub if (mCurClient == null || client == null || mCurClient.client.asBinder() != client.asBinder()) { Slog.w(TAG, "Ignoring showInputMethodDialogFromClient of: " + client); + return; } mHandler.sendEmptyMessage(MSG_SHOW_IM_PICKER); -- cgit v1.2.3-59-g8ed1b