Merge "Remove synchronization from getCurrentInputMethodSubtype()"

This commit is contained in:
Treehugger Robot
2016-09-16 05:21:33 +00:00
committed by Gerrit Code Review

View File

@@ -2053,12 +2053,10 @@ public final class InputMethodManager {
* have any input method subtype.
*/
public InputMethodSubtype getCurrentInputMethodSubtype() {
synchronized (mH) {
try {
return mService.getCurrentInputMethodSubtype();
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
try {
return mService.getCurrentInputMethodSubtype();
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
}