From 72f69d9f2348efa580c7e1e1659865c638e41357 Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Thu, 10 Oct 2013 14:48:22 -0700 Subject: [PATCH] Wake up disp sync thread when setting display period Bug: 10624956 Change-Id: I272c15f319521bfbd1bb70451366c7dd84d60bf9 --- services/surfaceflinger/DispSync.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/surfaceflinger/DispSync.cpp b/services/surfaceflinger/DispSync.cpp index 7e6713851..b2a604c8c 100644 --- a/services/surfaceflinger/DispSync.cpp +++ b/services/surfaceflinger/DispSync.cpp @@ -397,6 +397,7 @@ void DispSync::setPeriod(nsecs_t period) { Mutex::Autolock lock(mMutex); mPeriod = period; mPhase = 0; + mThread->updateModel(mPeriod, mPhase); } void DispSync::updateModelLocked() {