Merge "Fixes a system crash in VibratorService on x86 hosts"
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