Removed redundant orientation virtual sensor events 51/35851/5
authorVibhor Gaur <vibhor.gaur@samsung.com>
Wed, 25 Feb 2015 10:36:58 +0000 (16:06 +0530)
committerVibhor Gaur <vibhor.gaur@samsung.com>
Thu, 26 Feb 2015 12:31:14 +0000 (18:01 +0530)
commitb3ef62c4f97972c41cd13f025912113d44be07a9
treeba87fba9d8de39eed4553c7cfd02334d7fdbf5fb
parent95ca9d883b594f5ddb75c1bd932a464ad2e1954f
Removed redundant orientation virtual sensor events

Removed redundant orientation events ORIENTATION_BASE_DATA_SET and ORIENTATION_EVENT_RAW_DATA_REPORT_ON_TIME which were the same.
These have been moved to the sensor_deprecated folder.
ORIENTATION_BASE_DATA_SET was used for polling events and ORIENTATION_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven Since both these represent the same orientation virtual sensor event, DATA_SET type has been removed.
ORIENTATION_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to ORIENTATION_RAW_DATA_EVENT to make it simpler.
The change has been tested on rd-pq device for all sensord API and all API were found to be working

Change-Id: Iac7080cef6483b4fcaf5a454739ab1be50a57d23
src/gravity/gravity_sensor.cpp
src/libsensord/client_common.cpp
src/libsensord/sensor_deprecated.h
src/libsensord/sensor_orientation.h
src/orientation/orientation_sensor.cpp
src/server/command_worker.cpp
test/src/auto_test.c
test/src/tc-common.c