Removing redundant proximity events 70/35570/6
authorAnkur <ankur29.garg@samsung.com>
Wed, 18 Feb 2015 11:51:21 +0000 (17:21 +0530)
committerAnkur Garg <ankur29.garg@samsung.com>
Thu, 19 Feb 2015 13:14:14 +0000 (05:14 -0800)
commit3ef120f1e032d5a74fc1daaf2f25cffb23236132
treec93304f0a8df79a769593529be134fd794c9c591
parentc7a9a0568a32cac9fff4de85180745721c954962
Removing redundant proximity events

PROXIMITY_BASE_DATA_SET and PROXIMITY_EVENT_CHANGE_STATE were the same
PROXIMITY_BASE_DATA_SET has been removed.

PROXIMITY_BASE_DATA_SET was used for polling events and PROXIMITY_EVENT_CHANGE_STATE was used for event driven
Since both these represent the same proximity event, DATA_SET type has been removed.

And PROXIMITY_EVENT_CHANGE_STATE has been renamed to PROXIMITY_CHANGE_STATE_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: Idb5a5213fdeecdeef0503b8f7388cdb2b0b36385
src/libsensord/client_common.cpp
src/libsensord/sensor_proxi.h
src/proxi/proxi_sensor.cpp
test/src/tc-common.c