Skip to content

Commit f42c6f3

Browse files
Wenhui YangCherrypicker Worker
authored andcommitted
[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.
1 parent db00dfa commit f42c6f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

services/surfaceflinger/EffectLayer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class EffectLayer : public Layer {
6464
bool fillsColor() const;
6565
// Returns true if this layer has a blur value.
6666
bool hasBlur() const;
67+
bool needsInputInfo() const override { return fillsColor() || hasInputInfo(); }
6768
bool hasSomethingToDraw() const { return fillsColor() || drawShadows() || hasBlur(); }
6869
};
6970

0 commit comments

Comments
 (0)