diff --git a/core/java/android/view/inputmethod/InputMethodManager.java b/core/java/android/view/inputmethod/InputMethodManager.java index 4d9f6f5fb5c85..84e711c6a27cc 100644 --- a/core/java/android/view/inputmethod/InputMethodManager.java +++ b/core/java/android/view/inputmethod/InputMethodManager.java @@ -738,15 +738,6 @@ public final class InputMethodManager { private final class DelegateImpl implements ImeFocusController.InputMethodManagerDelegate { - private void finishInput() { - ImeTracing.getInstance().triggerClientDump( - "InputMethodManager.DelegateImpl#finishInput", InputMethodManager.this, - null /* icProto */); - synchronized (mH) { - finishInputLocked(); - } - } - /** * Used by {@link ImeFocusController} to finish input connection and callback * {@link InputMethodService#onFinishInput()}. @@ -899,7 +890,7 @@ public final class InputMethodManager { } // Close the connection when no next served view coming. if (mNextServedView == null) { - finishInput(); + finishInputLocked(); closeCurrentInput(); return false; } @@ -939,7 +930,7 @@ public final class InputMethodManager { return; } if (mServedView != null) { - finishInput(); + finishInputLocked(); } setCurrentRootView(null); }