diff options
Diffstat (limited to 'include/gui/ISensorServer.h')
-rw-r--r-- | include/gui/ISensorServer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gui/ISensorServer.h b/include/gui/ISensorServer.h index 9c8afc5..ee3484c 100644 --- a/include/gui/ISensorServer.h +++ b/include/gui/ISensorServer.h @@ -30,6 +30,7 @@ namespace android { class Sensor; class ISensorEventConnection; +class String8; class ISensorServer : public IInterface { @@ -37,7 +38,9 @@ public: DECLARE_META_INTERFACE(SensorServer); virtual Vector<Sensor> getSensorList() = 0; - virtual sp<ISensorEventConnection> createSensorEventConnection() = 0; + virtual sp<ISensorEventConnection> createSensorEventConnection(const String8& packageName, + int mode) = 0; + virtual status_t enableDataInjection(int enable) = 0; }; // ---------------------------------------------------------------------------- |