summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hu Guo <guohu@xiaomi.corp-partner.google.com> 2024-05-04 19:40:18 +0800
committer Hu Guo <guohu@xiaomi.corp-partner.google.com> 2024-05-04 19:40:18 +0800
commitd6bcada8bc4c12bd47faae6c9ff639ee4316494d (patch)
treed12e71988b415d14c8b4552f759c4adac6ab2e0c
parent2949179fa0be36238d850fce5d3357b7836f4918 (diff)
remove log in handleInputChannelDisposed
Change-Id: Icb515e65e0f97cb0ccffce56ee653ce191ff9a4d
-rw-r--r--services/core/jni/com_android_server_input_InputManagerService.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp
index a19ed20e0b3f..5f17c68bc02f 100644
--- a/services/core/jni/com_android_server_input_InputManagerService.cpp
+++ b/services/core/jni/com_android_server_input_InputManagerService.cpp
@@ -1904,10 +1904,6 @@ static void handleInputChannelDisposed(JNIEnv* env, jobject /* inputChannelObj *
const std::shared_ptr<InputChannel>& inputChannel,
void* data) {
NativeInputManager* im = static_cast<NativeInputManager*>(data);
-
- ALOGW("Input channel object '%s' was disposed without first being removed with "
- "the input manager!",
- inputChannel->getName().c_str());
im->removeInputChannel(inputChannel->getConnectionToken());
}