From 1c9e410da04dcf49beda48cab790c9211bd9438a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cosmin=20B=C4=83ie=C8=99?= Date: Tue, 4 Jul 2023 17:22:45 +0200 Subject: [PATCH] Update outdated log message This method was renamed from requestCursorAnchorInfo to requestCursorUpdates a while ago, and most of the references were renamed in [1], but this log line retained the old method name. [1]: I75701a5a32d52283497208013c28ceb75c1adfa9 Test: n/a Bug: 192412909 Change-Id: Idf322258e7576bf8441a5f86c4f143dcbfc62463 --- .../android/view/inputmethod/RemoteInputConnectionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/view/inputmethod/RemoteInputConnectionImpl.java b/core/java/android/view/inputmethod/RemoteInputConnectionImpl.java index aa9225b79e415..e9d7b9b25d91f 100644 --- a/core/java/android/view/inputmethod/RemoteInputConnectionImpl.java +++ b/core/java/android/view/inputmethod/RemoteInputConnectionImpl.java @@ -1118,7 +1118,7 @@ final class RemoteInputConnectionImpl extends IRemoteInputConnection.Stub { @InputConnection.CursorUpdateFilter int cursorUpdateFilter, int imeDisplayId) { final InputConnection ic = getInputConnection(); if (ic == null || !isActive()) { - Log.w(TAG, "requestCursorAnchorInfo on inactive InputConnection"); + Log.w(TAG, "requestCursorUpdates on inactive InputConnection"); return false; } if (mParentInputMethodManager.mRequestCursorUpdateDisplayIdCheck.get()