Merge "Remove synchronization from getCurrentInputMethodSubtype()" into nyc-mr1-dev
This commit is contained in:
@@ -2056,12 +2056,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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user