Skip to content

Commit 2465d48

Browse files
Wenhui YangAndroid (Google) Code Review
authored andcommitted
Merge "[DO NOT MERGE] Send dim layer in input list" into tm-dev
2 parents 7d7ac48 + f42c6f3 commit 2465d48

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)