From 0ea1cb91954ac1ad0973a6b9482dcb2fee2449f5 Mon Sep 17 00:00:00 2001 From: chenhg Date: Tue, 23 Sep 2014 10:52:25 +0800 Subject: [PATCH] surfaceflinger: Check sideband stream changed to trigger sideband Layer update. BUG: 17382907 Change-Id: I65fd037bd25238ae68a3976468ae7fd7ce49c562 --- services/surfaceflinger/Layer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h index e7125232d..f0fe58ae0 100644 --- a/services/surfaceflinger/Layer.h +++ b/services/surfaceflinger/Layer.h @@ -284,7 +284,7 @@ public: /* * Returns if a frame is queued. */ - bool hasQueuedFrame() const { return mQueuedFrames > 0; } + bool hasQueuedFrame() const { return mQueuedFrames > 0 || mSidebandStreamChanged; } // -----------------------------------------------------------------------