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

Commit f42c6f3b authored by Wenhui Yang's avatar Wenhui Yang Committed by Cherrypicker Worker
Browse files

[DO NOT MERGE] Send dim layer in input list

Consider dim layers when calculating occlusion in inputdispatcher.

Bug: 277076451
Test: app-debug.apk in the bug
Test: go/wm-smoke
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:edb242135c608c818e2bc25ab0b45d399923536c)
Merged-In: I4a2fec79c7a4512b18af132f20ac9afaf4df71ba
Change-Id: I4a2fec79c7a4512b18af132f20ac9afaf4df71ba
Cherry pick the security fix for back porting.
parent db00dfa5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ private:
    bool fillsColor() const;
    // Returns true if this layer has a blur value.
    bool hasBlur() const;
    bool needsInputInfo() const override { return fillsColor() || hasInputInfo(); }
    bool hasSomethingToDraw() const { return fillsColor() || drawShadows() || hasBlur(); }
};