Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9769ee76 authored by Harpreet \"Eli\" Sangha's avatar Harpreet \"Eli\" Sangha Committed by android-build-merger
Browse files

Merge "VibratorService: Fix Typo in AIDL Perform Effect" am: 1a0e1bae am: fb0e7611

am: 533db782

Change-Id: I04e14f995fd2325cc2b9d207ec977136d86be2b6
parents da2141d6 533db782
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -338,7 +338,7 @@ static jlong vibratorPerformEffect(JNIEnv* env, jclass, jlong effect, jlong stre
    if (auto hal = getHal<aidl::IVibrator>()) {
        int32_t lengthMs;
        sp<AidlVibratorCallback> effectCallback = new AidlVibratorCallback(env, vibration);
        aidl::Effect effectType(static_cast<aidl::Effect>(strength));
        aidl::Effect effectType(static_cast<aidl::Effect>(effect));
        aidl::EffectStrength effectStrength(static_cast<aidl::EffectStrength>(strength));

        auto status = hal->call(&aidl::IVibrator::perform, effectType, effectStrength, effectCallback, &lengthMs);