Merge "[DO NOT MERGE] cs40l26: Report the duration time when using DOUBLE_CLICK effect" into tm-qpr-dev
This commit is contained in:
commit
f5f7641fb3
1 changed files with 4 additions and 0 deletions
|
@ -1508,6 +1508,10 @@ ndk::ScopedAStatus Vibrator::getCompoundDetails(Effect effect, EffectStrength st
|
||||||
}
|
}
|
||||||
|
|
||||||
*outTimeMs = timeMs;
|
*outTimeMs = timeMs;
|
||||||
|
mFfEffects[WAVEFORM_COMPOSE].replay.length = static_cast<uint16_t>(timeMs);
|
||||||
|
if (mIsDual) {
|
||||||
|
mFfEffectsDual[WAVEFORM_COMPOSE].replay.length = static_cast<uint16_t>(timeMs);
|
||||||
|
}
|
||||||
|
|
||||||
return ndk::ScopedAStatus::ok();
|
return ndk::ScopedAStatus::ok();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue