Remove synchronization from getCurrentInputMethodSubtype()

am: d33c07550f

Change-Id: I83b3e185e66c383c714c66850d8fee34e13cd74a
This commit is contained in:
Gopal Krishna Shukla
2016-09-16 17:38:52 +00:00
committed by android-build-merger

View File

@@ -2056,14 +2056,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.