[DO NOT MERGE] cs40l26: Report the duration time when using DOUBLE_CLICK effect am: f19351f3a9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20865902 Change-Id: I4ce46f5a13f01b1091e87564efc9b913b1f10b8d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
f8309a3b7e
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