Skip to content

Commit 4251927

Browse files
Wenhui YangAndroid (Google) Code Review
authored andcommitted
Merge "[DO NOT MERGE] Send dim layer in input list" into udc-qpr-dev
2 parents 7e0be40 + 6317604 commit 4251927

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/surfaceflinger/Layer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ class Layer : public virtual RefBase {
520520
* the InputDispatcher to do PID based occlusion detection.
521521
*/
522522
bool needsInputInfo() const {
523-
return (hasInputInfo() || hasBufferOrSidebandStream()) && !mPotentialCursor;
523+
return (hasInputInfo() || hasBufferOrSidebandStream() || fillsColor()) && !mPotentialCursor;
524524
}
525525

526526
// Implements RefBase.

0 commit comments

Comments
 (0)