From 5b2895dd6b75b9dc5e33be1c7000e82e691c79b0 Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Sun, 20 Feb 2022 00:51:21 +0200 Subject: [PATCH] sm7125-common: sensors: Make sensor set mode operation function virtual Change-Id: I62c94a6ad250417162cfc9eaca8cb490ce650d9c --- sensors/Sensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors/Sensor.h b/sensors/Sensor.h index 3c508c5..7666cb4 100644 --- a/sensors/Sensor.h +++ b/sensors/Sensor.h @@ -53,7 +53,7 @@ class Sensor { virtual void activate(bool enable); virtual Result flush(); - void setOperationMode(OperationMode mode); + virtual void setOperationMode(OperationMode mode); bool supportsDataInjection() const; Result injectEvent(const Event& event);