Skip to content

Commit 988424d

Browse files
Wenhui Yangandroid-build-merge-worker-robot
authored andcommitted
[DO NOT MERGE] Send dim layer in input list am: 1cb7e56
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/31042877 Change-Id: Ie78ef90dfd0ab987836a4d997063c7e9021fbbb0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2 parents ea84cd2 + 1cb7e56 commit 988424d

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)