summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAravind Akella <aakella@google.com>2014-05-13 18:20:30 -0700
committerAravind Akella <aakella@google.com>2014-05-23 18:58:01 -0700
commitd9441e4c27bb7d0b1dfe2a8b5c1ee1714442648d (patch)
tree6f18b29eb8237d0d5bd8a4dfe2ceb3671eb76c9e /include
parent72c524dd8cd91b4899e5e180764ffcf410e094da (diff)
downloadframeworks_native-d9441e4c27bb7d0b1dfe2a8b5c1ee1714442648d.zip
frameworks_native-d9441e4c27bb7d0b1dfe2a8b5c1ee1714442648d.tar.gz
frameworks_native-d9441e4c27bb7d0b1dfe2a8b5c1ee1714442648d.tar.bz2
Surface maxDelay and isWakeUpSensor flag in Sensor.java.
Change-Id: Idd1e9045190beeca87b086b272e8cbf0bed05bae
Diffstat (limited to 'include')
-rw-r--r--include/gui/Sensor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gui/Sensor.h b/include/gui/Sensor.h
index 41a6cc6..c1c98b9 100644
--- a/include/gui/Sensor.h
+++ b/include/gui/Sensor.h
@@ -71,6 +71,7 @@ public:
int32_t getFifoMaxEventCount() const;
const String8& getStringType() const;
const String8& getRequiredPermission() const;
+ int32_t getMaxDelay() const;
bool isWakeUpSensor() const;
// LightFlattenable protocol
@@ -94,7 +95,7 @@ private:
int32_t mFifoMaxEventCount;
String8 mStringType;
String8 mRequiredPermission;
- // Todo: Surface this in java SDK.
+ int32_t mMaxDelay;
bool mWakeUpSensor;
static void flattenString8(void*& buffer, size_t& size, const String8& string8);
static bool unflattenString8(void const*& buffer, size_t& size, String8& outputString8);