summaryrefslogtreecommitdiffstats
path: root/include/gui/ISensorServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/ISensorServer.h')
-rw-r--r--include/gui/ISensorServer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/ISensorServer.h b/include/gui/ISensorServer.h
index 4feb6db..3dca2a3 100644
--- a/include/gui/ISensorServer.h
+++ b/include/gui/ISensorServer.h
@@ -40,7 +40,7 @@ public:
virtual Vector<Sensor> getSensorList(const String16& opPackageName) = 0;
virtual sp<ISensorEventConnection> createSensorEventConnection(const String8& packageName,
int mode, const String16& opPackageName) = 0;
- virtual status_t enableDataInjection(int enable) = 0;
+ virtual int32_t isDataInjectionEnabled() = 0;
};
// ----------------------------------------------------------------------------