Merge "Remove synchronization from getCurrentInputMethodSubtype()"

am: 85539bed77

Change-Id: I0f564ebcb74d4c17a4d18ab2fe8660c977731590
This commit is contained in:
Gopal Krishna Shukla
2016-09-16 05:31:29 +00:00
committed by android-build-merger

View File

@@ -2053,14 +2053,12 @@ public final class InputMethodManager {
* have any input method subtype. * have any input method subtype.
*/ */
public InputMethodSubtype getCurrentInputMethodSubtype() { public InputMethodSubtype getCurrentInputMethodSubtype() {
synchronized (mH) {
try { try {
return mService.getCurrentInputMethodSubtype(); return mService.getCurrentInputMethodSubtype();
} catch (RemoteException e) { } catch (RemoteException e) {
throw e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer();
} }
} }
}
/** /**
* Switch to a new input method subtype of the current input method. * Switch to a new input method subtype of the current input method.