Merge "Remove synchronization from getCurrentInputMethodSubtype()" am: 85539bed77 am: d3e1e473df
am: e790c7b2fe
Change-Id: I55465d3d95a317c7fdcff99298e89408190e67e3
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user