From 7895e90e29d096be039202f2ff24fa8033b92477 Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Wed, 21 Aug 2013 11:53:37 -0700 Subject: [PATCH] Surface: Fix controlledByApp parameter Bug: 10425641 Change-Id: I1a47e2ce4ecbdb8e67030a5d9ddf6604c5e2497d --- libs/gui/Surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index b9a12ed9a..1bae0fed4 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp @@ -72,7 +72,7 @@ Surface::Surface( mTransformHint = 0; mConsumerRunningBehind = false; mConnectedToCpu = false; - mProducerControlledByApp = true; + mProducerControlledByApp = controlledByApp; mSwapIntervalZero = false; }