Wake up disp sync thread when setting display period

Bug: 10624956
Change-Id: I272c15f319521bfbd1bb70451366c7dd84d60bf9
This commit is contained in:
Jesse Hall 2013-10-10 14:48:22 -07:00
parent 98c197d826
commit 72f69d9f23

View File

@ -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() {