OSDN Git Service

Build fix change method signature of enableDataInjection.
authorAravind Akella <aakella@google.com>
Sat, 25 Apr 2015 02:40:50 +0000 (19:40 -0700)
committerAravind Akella <aakella@google.com>
Sat, 25 Apr 2015 02:54:46 +0000 (19:54 -0700)
Change-Id: I3927aec64f5a1555d2e5d07591fd04e7b3be5f09

include/gui/SensorManager.h

index 19c2bdc..4cabf59 100644 (file)
@@ -54,7 +54,7 @@ public:
     ssize_t getSensorList(Sensor const* const** list) const;
     Sensor const* getDefaultSensor(int type);
     sp<SensorEventQueue> createEventQueue(String8 packageName = String8(""), int mode = 0);
-    ssize_t enableDataInjection(bool enable);
+    status_t enableDataInjection(bool enable);
 
 private:
     // DeathRecipient interface