Wake up disp sync thread when setting display period
Bug: 10624956 Change-Id: I272c15f319521bfbd1bb70451366c7dd84d60bf9
This commit is contained in:
parent
98c197d826
commit
72f69d9f23
@ -397,6 +397,7 @@ void DispSync::setPeriod(nsecs_t period) {
|
|||||||
Mutex::Autolock lock(mMutex);
|
Mutex::Autolock lock(mMutex);
|
||||||
mPeriod = period;
|
mPeriod = period;
|
||||||
mPhase = 0;
|
mPhase = 0;
|
||||||
|
mThread->updateModel(mPeriod, mPhase);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DispSync::updateModelLocked() {
|
void DispSync::updateModelLocked() {
|
||||||
|
Loading…
Reference in New Issue
Block a user