Execute the switching to a different IME in a POOL_EXECUTOR.

Using only a single thread may slow down the application, if there is already another thread running.

Bug: 5142142
Change-Id: I314480a58af20ea09458ff82e586304fc3c7c070
main
Luca Zanolin 2011-08-10 10:29:06 +01:00
parent f098fbbef3
commit 613073d01b
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ public class SubtypeSwitcher {
// when the API level is 10 or previous.
mService.notifyOnCurrentInputMethodSubtypeChanged(subtype);
}
}.execute();
}.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
public Drawable getShortcutIcon() {