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

Commit 1cb7e568 authored by Wenhui Yang's avatar Wenhui Yang
Browse files

[DO NOT MERGE] Send dim layer in input list

Consider dim layers when calculating occlusion in inputdispatcher.

Bug: 277076451
Change-Id: Icf2b6842b58c57461b0ca3e9424c830aab72d78e
Test: app-debug.apk in the bug
Test: go/wm-smoke
Flag: EXEMPT bugfix
parent 7ab30983
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -520,7 +520,7 @@ public:
     * the InputDispatcher to do PID based occlusion detection.
     */
    bool needsInputInfo() const {
        return (hasInputInfo() || hasBufferOrSidebandStream()) && !mPotentialCursor;
        return (hasInputInfo() || hasBufferOrSidebandStream() || fillsColor()) && !mPotentialCursor;
    }

    // Implements RefBase.