Skip to content

Commit f2e67a5

Browse files
Ethan1983Jean-Baptiste Queru
authored andcommitted
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
1 parent efcac2f commit f2e67a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/java/com/android/server/InputMethodManagerService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,7 @@ public void showInputMethodPickerFromClient(IInputMethodClient client) {
12251225
if (mCurClient == null || client == null
12261226
|| mCurClient.client.asBinder() != client.asBinder()) {
12271227
Slog.w(TAG, "Ignoring showInputMethodDialogFromClient of: " + client);
1228+
return;
12281229
}
12291230

12301231
mHandler.sendEmptyMessage(MSG_SHOW_IM_PICKER);

0 commit comments

Comments
 (0)