Skip to content

Commit e61dcc3

Browse files
Wenhui YangAndroid (Google) Code Review
authored andcommitted
Merge "[DO NOT MERGE] Send dim layer in input list" into udc-dev
2 parents f68fc4c + 1cb7e56 commit e61dcc3

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)