summaryrefslogtreecommitdiff
path: root/vibrator/cs40l26/Hardware.h
diff options
context:
space:
mode:
Diffstat (limited to 'vibrator/cs40l26/Hardware.h')
-rw-r--r--vibrator/cs40l26/Hardware.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/vibrator/cs40l26/Hardware.h b/vibrator/cs40l26/Hardware.h
index 51619e5..7ad4017 100644
--- a/vibrator/cs40l26/Hardware.h
+++ b/vibrator/cs40l26/Hardware.h
@@ -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);