OSDN Git Service

surfaceflinger: Check sideband stream changed to trigger sideband Layer update.
authorchenhg <chenhg@marvell.com>
Tue, 23 Sep 2014 02:52:25 +0000 (10:52 +0800)
committerJesse Hall <jessehall@google.com>
Wed, 24 Sep 2014 00:26:00 +0000 (17:26 -0700)
BUG: 17382907
Change-Id: I65fd037bd25238ae68a3976468ae7fd7ce49c562

services/surfaceflinger/Layer.h

index e712523..f0fe58a 100644 (file)
@@ -284,7 +284,7 @@ public:
     /*
      * Returns if a frame is queued.
      */
-    bool hasQueuedFrame() const { return mQueuedFrames > 0; }
+    bool hasQueuedFrame() const { return mQueuedFrames > 0 || mSidebandStreamChanged; }
 
     // -----------------------------------------------------------------------