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

am: 5ed0e55859

Change-Id: I6ad532b24ba56d7e55aead79f8d59782339d4388
This commit is contained in:
Christian Wailes
2019-10-29 15:35:54 -07:00
committed by android-build-merger

View File

@@ -151,7 +151,7 @@ static void vibratorSetExternalControl(JNIEnv*, jobject, jboolean enabled) {
} }
} }
static jlong vibratorPerformEffect(JNIEnv*, jobject, jlong effect, jint strength) { static jlong vibratorPerformEffect(JNIEnv*, jobject, jlong effect, jlong strength) {
Status status; Status status;
uint32_t lengthMs; uint32_t lengthMs;
auto callback = [&status, &lengthMs](Status retStatus, uint32_t retLengthMs) { auto callback = [&status, &lengthMs](Status retStatus, uint32_t retLengthMs) {