commit | 72f69d9f2348efa580c7e1e1659865c638e41357 | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Thu Oct 10 14:48:22 2013 -0700 |
committer | Jesse Hall <jessehall@google.com> | Thu Oct 10 14:48:22 2013 -0700 |
tree | ca55b448492f747e317077d37a9051f5117f8c42 | |
parent | 98c197d826f95a82de41e16350f58a70a7ad23c6 [diff] [blame] |
Wake up disp sync thread when setting display period Bug: 10624956 Change-Id: I272c15f319521bfbd1bb70451366c7dd84d60bf9
diff --git a/services/surfaceflinger/DispSync.cpp b/services/surfaceflinger/DispSync.cpp index 7e67138..b2a604c 100644 --- a/services/surfaceflinger/DispSync.cpp +++ b/services/surfaceflinger/DispSync.cpp
@@ -397,6 +397,7 @@ Mutex::Autolock lock(mMutex); mPeriod = period; mPhase = 0; + mThread->updateModel(mPeriod, mPhase); } void DispSync::updateModelLocked() {