Your ROOT_URL in app.ini is https://gitea.jennalody.de/ but you are visiting https://gitea.jenslody.de/jenna/hardware_samsung/commit/7bd22b0eb6c2801fbb93cb61e9751fb9394e09ea You should set ROOT_URL correctly, otherwise the web may not work correctly.

aidl: vibrator: improve amplitude values

Change-Id: Ic1c08841e00a927c138663880f4e6361e59453bd
tirimbino
Tim Zimmermann 3 years ago
parent 1bc99f564c
commit 7bd22b0eb6
No known key found for this signature in database
GPG Key ID: 6DC21A63F819C5EF
  1. 4
      aidl/vibrator/Vibrator.cpp

@ -242,11 +242,11 @@ uint8_t Vibrator::strengthToAmplitude(EffectStrength strength, ndk::ScopedAStatu
switch (strength) {
case EffectStrength::LIGHT:
return 78;
return 64;
case EffectStrength::MEDIUM:
return 128;
case EffectStrength::STRONG:
return 204;
return 255;
}
*status = ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION);

Loading…
Cancel
Save