summaryrefslogtreecommitdiffstats
path: root/include/gui/Sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/Sensor.h')
-rw-r--r--include/gui/Sensor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/Sensor.h b/include/gui/Sensor.h
index 2af2307..9197372 100644
--- a/include/gui/Sensor.h
+++ b/include/gui/Sensor.h
@@ -70,8 +70,8 @@ public:
// LightFlattenable protocol
inline bool isFixedSize() const { return false; }
- size_t getSize() const;
- status_t flatten(void* buffer) const;
+ size_t getFlattenedSize() const;
+ status_t flatten(void* buffer, size_t size) const;
status_t unflatten(void const* buffer, size_t size);
private: