Sensor: change activate tilt sequences

JIRA: MARVIN-486

We should enable the device first, then enable the interrupt
or state machine; otherwise, the state machine may not work.

Change-Id: I0bf3952231bf7f0d645dd1c1f51dfae6ae5be23d
Signed-off-by: Fei Li <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com/398222
Reviewed-by: jenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: Maalem, Saadi <saadi.maalem@intel.com>
2 files changed
tree: caf0f5c734ffc1ae82921d7dab2935a377d5b59a
  1. als/
  2. libsensors_iio/
  3. tilt/
  4. Android.mk