Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a06bb553 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

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 d5418b67)
parent e38446b9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2745,7 +2745,8 @@ void InputDispatcher::addWindowTargetLocked(const sp<WindowInfoHandle>& windowHa
        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;