Merge "felix/vibrator: Disable PWLE by default" into main
This commit is contained in:
commit
f200427cf5
2 changed files with 3 additions and 4 deletions
|
@ -214,7 +214,8 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
PRODUCT_VENDOR_PROPERTIES +=\
|
||||
ro.vendor.vibrator.hal.long.frequency.shift=0 \
|
||||
ro.vendor.vibrator.hal.gpio.num=44 \
|
||||
ro.vendor.vibrator.hal.gpio.shift=2
|
||||
ro.vendor.vibrator.hal.gpio.shift=2 \
|
||||
persist.vendor.vibrator.hal.chirp.enabled=0
|
||||
ACTUATOR_MODEL := luxshare_ict_lt_xlra1906d
|
||||
|
||||
# Fingerprint
|
||||
|
|
|
@ -359,9 +359,7 @@ class HwCal : public Vibrator::HwCal, private HwCalBase {
|
|||
return true;
|
||||
}
|
||||
bool isChirpEnabled() override {
|
||||
bool value;
|
||||
getProperty("chirp.enabled", &value, false);
|
||||
return value;
|
||||
return utils::getProperty("persist.vendor.vibrator.hal.chirp.enabled", false);
|
||||
}
|
||||
bool getSupportedPrimitives(uint32_t *value) override {
|
||||
return getProperty("supported_primitives", value, (uint32_t)0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue