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,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();
}
}