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

Commit 8525b42d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes a system crash in VibratorService on x86 hosts"

parents 43c8bb0f e2e5a313
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ static void vibratorSetExternalControl(JNIEnv*, jclass, jboolean enabled) {
    }
}

static jlong vibratorPerformEffect(JNIEnv* env, jclass, jlong effect, jint strength,
static jlong vibratorPerformEffect(JNIEnv* env, jclass, jlong effect, jlong strength,
                                   jobject vibration) {
    Status status;
    uint32_t lengthMs;