OSDN Git Service

STPK-1429: Fix trigger type for proximity sensor
authorPatrick Porlan <patrick.porlan@intel.com>
Mon, 28 Jul 2014 13:53:19 +0000 (15:53 +0200)
committerAdriana Reus <adriana.reus@intel.com>
Mon, 4 Aug 2014 14:34:26 +0000 (17:34 +0300)
commit0d063b71dd3c9b4588fd1f989928dcaffa61eb9a
tree39087a4b54843d12db03806bf7973665d3dabbff
parentfba47f84954768fd34b51ae9cf62b172a47f626b
STPK-1429: Fix trigger type for proximity sensor

The proximity sensor only sends an event if its state changes.

Note the statement at the end of sensor_activate about at least
one event being sent after a sensor is enabled. This will ensure
that whatever middleware components controls the proximity sensor,
it's not going to mistakenly believe that it's stuck in near state.

Change-Id: I56a8bd1ca171cd879d69c03fafab83dde9c42e1e
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
transform.c