Remove DisplayInfo not found log
This log is spamming our test runs. It hasn't been very useful
historically, since we havent seen it in real usage.
We can bring back this log after setInputWindows is removed.
Bug: 198444055
Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests
Change-Id: Ica9fbbe4393b2ed9d09c506f681995cb9c550515
Merged-In: Ica9fbbe4393b2ed9d09c506f681995cb9c550515
(cherry picked from commit d5418b67bf2d25ffc72f4a8d1222ddc7fc2829f1)
diff --git a/services/inputflinger/dispatcher/InputDispatcher.cpp b/services/inputflinger/dispatcher/InputDispatcher.cpp
index 08ae376..c9f7512 100644
--- a/services/inputflinger/dispatcher/InputDispatcher.cpp
+++ b/services/inputflinger/dispatcher/InputDispatcher.cpp
@@ -2745,7 +2745,8 @@
if (displayInfoIt != mDisplayInfos.end()) {
inputTarget.displayTransform = displayInfoIt->second.transform;
} else {
- ALOGE("DisplayInfo not found for window on display: %d", windowInfo->displayId);
+ // DisplayInfo not found for this window on display windowInfo->displayId.
+ // TODO(b/198444055): Make this an error message after 'setInputWindows' API is removed.
}
inputTargets.push_back(inputTarget);
it = inputTargets.end() - 1;