mirror of
https://github.com/Evolution-X-Devices/device_motorola_rtwo
synced 2026-01-27 07:50:05 +00:00
dubai: sensors: Make sensor flush function virtual
Change-Id: I46532fc726d9e0c2073100ff1f6008fcde9e821c
This commit is contained in:
committed by
Marc Bourgoin
parent
240a944d40
commit
cb42d06df9
@@ -51,7 +51,7 @@ class Sensor {
|
|||||||
const SensorInfo& getSensorInfo() const;
|
const SensorInfo& getSensorInfo() const;
|
||||||
virtual void batch(int32_t samplingPeriodNs);
|
virtual void batch(int32_t samplingPeriodNs);
|
||||||
virtual void activate(bool enable);
|
virtual void activate(bool enable);
|
||||||
Result flush();
|
virtual Result flush();
|
||||||
|
|
||||||
void setOperationMode(OperationMode mode);
|
void setOperationMode(OperationMode mode);
|
||||||
bool supportsDataInjection() const;
|
bool supportsDataInjection() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user