Motorola-CyanogenMod/android_frameworks_native — pull request #8 by percy-g2 (2014-11-29 14:20:38+00:00)
Title: sensorservice: Register orientation sensor if HAL doesn't provide it

* In KitKat and on most Samsung devices, the orientation sensor is
not getting registered, and makes the compass non-working in a lot
of apps. This patch enables the sensor for such devices.

Change-Id: I0ebba72ec4aa2cfa02c21a6daff0c356c6793fd0