Merge "Remove synchronization from getCurrentInputMethodSubtype()" am: 85539bed77

am: d3e1e473df

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

View File

@@ -2053,12 +2053,10 @@ 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();
}
} }
} }