Merge "Fixes a system crash in VibratorService on x86 hosts" am: 5ed0e55859
am: 5d8f3ae57d
Change-Id: Ic699d40f08f65c5b0731dfc75c13f42cd8b3c66a
This commit is contained in:
@@ -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;
|
||||
uint32_t lengthMs;
|
||||
auto callback = [&status, &lengthMs](Status retStatus, uint32_t retLengthMs) {
|
||||
|
||||
Reference in New Issue
Block a user