Merge "Wake up disp sync thread when setting display period" into klp-dev
This commit is contained in:
commit
5c65efe2b1
@ -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