sm7125: vibrator: Decrease intensity

Change-Id: I08dd43fc76a0e77a9a670b6488e5c4231d2e5e7d
fourteen-wip
Simon1511 2 years ago
parent 3707617171
commit f9464bb353
  1. 2
      vibrator/Vibrator.cpp
  2. 2
      vibrator/Vibrator.h

@ -232,7 +232,7 @@ ndk::ScopedAStatus Vibrator::activate(uint32_t timeoutMs) {
/* We mostly get values that are 20ms and lower, but
that's not enough to be actually noticeable. Set it to
40ms if timeoutMs is less than that. */
30ms if timeoutMs is less than that. */
if (timeoutMs < INTENSITY_MIN) {
timeoutMs = INTENSITY_MIN;
}

@ -8,7 +8,7 @@
#include <aidl/android/hardware/vibrator/BnVibrator.h>
#define INTENSITY_MIN 40
#define INTENSITY_MIN 30
#define INTENSITY_MAX 10000
#define INTENSITY_DEFAULT INTENSITY_MAX

Loading…
Cancel
Save