am 5c65efe2
: Merge "Wake up disp sync thread when setting display period" into klp-dev
* commit '5c65efe2b1d632226f02751e6b1d3cfd7c8ecb26': Wake up disp sync thread when setting display period
This commit is contained in:
commit
8c76d2a16e
@ -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