diff --git a/vibrator/cs40l26/Vibrator.cpp b/vibrator/cs40l26/Vibrator.cpp index 0716517..0b26730 100644 --- a/vibrator/cs40l26/Vibrator.cpp +++ b/vibrator/cs40l26/Vibrator.cpp @@ -1508,6 +1508,10 @@ ndk::ScopedAStatus Vibrator::getCompoundDetails(Effect effect, EffectStrength st } *outTimeMs = timeMs; + mFfEffects[WAVEFORM_COMPOSE].replay.length = static_cast(timeMs); + if (mIsDual) { + mFfEffectsDual[WAVEFORM_COMPOSE].replay.length = static_cast(timeMs); + } return ndk::ScopedAStatus::ok(); }