Merge "Remove synchronization from getCurrentInputMethodSubtype()" into nyc-mr1-dev

This commit is contained in:
Yohei Yukawa
2016-09-16 17:34:46 +00:00
committed by Android (Google) Code Review

View File

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