From 533dd037bc66d3d94f617b0bf7ed7ceeb8588a02 Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Thu, 17 Feb 2022 01:06:04 +0200 Subject: [PATCH] sm7125-common: sensors: Make sensor flush function virtual Change-Id: I46532fc726d9e0c2073100ff1f6008fcde9e821c --- sensors/Sensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors/Sensor.h b/sensors/Sensor.h index 8a7153a..3c508c5 100644 --- a/sensors/Sensor.h +++ b/sensors/Sensor.h @@ -51,7 +51,7 @@ class Sensor { const SensorInfo& getSensorInfo() const; virtual void batch(int32_t samplingPeriodNs); virtual void activate(bool enable); - Result flush(); + virtual Result flush(); void setOperationMode(OperationMode mode); bool supportsDataInjection() const;