| Index: content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnectionFactory.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnectionFactory.java b/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnectionFactory.java
|
| index f81493c3508156b9f4930708f3fe2181b40b8c08..497481bfbbe35db438892c4a0c3e6d5aab69fe63 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnectionFactory.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnectionFactory.java
|
| @@ -203,7 +203,7 @@ public class ThreadedInputConnectionFactory implements ChromiumBaseInputConnecti
|
| if (DEBUG_LOGS) Log.w(TAG, "checkRegisterResult - retry: " + retry);
|
| // Success.
|
| if (mInputMethodManagerWrapper.isActive(mProxyView)) {
|
| - mInputMethodUma.recordProxyViewSuccess();
|
| + onRegisterProxyViewSuccess();
|
| return;
|
| }
|
|
|
| @@ -214,12 +214,18 @@ public class ThreadedInputConnectionFactory implements ChromiumBaseInputConnecti
|
| return;
|
| }
|
|
|
| - onRegisterProxyViewFailed();
|
| + onRegisterProxyViewFailure();
|
| }
|
|
|
| @VisibleForTesting
|
| - protected void onRegisterProxyViewFailed() {
|
| - Log.w(TAG, "onRegisterProxyViewFailed");
|
| + protected void onRegisterProxyViewSuccess() {
|
| + Log.d(TAG, "onRegisterProxyViewSuccess");
|
| + mInputMethodUma.recordProxyViewSuccess();
|
| + }
|
| +
|
| + @VisibleForTesting
|
| + protected void onRegisterProxyViewFailure() {
|
| + Log.w(TAG, "onRegisterProxyViewFailure");
|
| mInputMethodUma.recordProxyViewFailure();
|
| }
|
|
|
|
|