summaryrefslogtreecommitdiff
path: root/camera/SensorListener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'camera/SensorListener.cpp')
-rw-r--r--camera/SensorListener.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/camera/SensorListener.cpp b/camera/SensorListener.cpp
index 8b3e942..86d597a 100644
--- a/camera/SensorListener.cpp
+++ b/camera/SensorListener.cpp
@@ -133,15 +133,9 @@ SensorListener::~SensorListener() {
status_t SensorListener::initialize() {
status_t ret = NO_ERROR;
SensorManager& mgr(SensorManager::getInstance());
- Sensor const* const* list;
- ssize_t count = 0;
- Sensor const* accelerometer;
LOG_FUNCTION_NAME;
- count = mgr.getSensorList(&list);
- CAMHAL_LOGDB("numSensors = %lu", count);
-
mSensorEventQueue = mgr.createEventQueue();
sp<Looper> mLooper = new Looper(false);