diff options
author | Aravind Akella <aakella@google.com> | 2014-06-03 19:19:57 -0700 |
---|---|---|
committer | Aravind Akella <aakella@google.com> | 2014-06-12 14:49:41 -0700 |
commit | 0e025c5af365e45e02cb75c1d46b46c7f4cd44cb (patch) | |
tree | a02caaddee79ebbcd12d0aaf6ffd28cb9a48c9e3 /include/gui | |
parent | 87947be61828a43fc738ffd204f72ab18b31946e (diff) | |
download | frameworks_native-0e025c5af365e45e02cb75c1d46b46c7f4cd44cb.zip frameworks_native-0e025c5af365e45e02cb75c1d46b46c7f4cd44cb.tar.gz frameworks_native-0e025c5af365e45e02cb75c1d46b46c7f4cd44cb.tar.bz2 |
Surface reportingMode for Sensors.
Change-Id: Iac8dd3408c90eb7d285a2e8043131fab3a7e58fa
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/Sensor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gui/Sensor.h b/include/gui/Sensor.h index c1c98b9..28a08e2 100644 --- a/include/gui/Sensor.h +++ b/include/gui/Sensor.h @@ -72,7 +72,9 @@ public: const String8& getStringType() const; const String8& getRequiredPermission() const; int32_t getMaxDelay() const; + int32_t getFlags() const; bool isWakeUpSensor() const; + int32_t getReportingMode() const; // LightFlattenable protocol inline bool isFixedSize() const { return false; } @@ -96,7 +98,7 @@ private: String8 mStringType; String8 mRequiredPermission; int32_t mMaxDelay; - bool mWakeUpSensor; + int32_t mFlags; static void flattenString8(void*& buffer, size_t& size, const String8& string8); static bool unflattenString8(void const*& buffer, size_t& size, String8& outputString8); }; |