Orientation Listener looks for the "right" Device Orientation Sensor.

Some variants of devices expose the Orientation listener as a wake up
listener. On such devices, the WOL switches to using the accelerometer
as the provider of orienation. This is not desirable.

Test: dumpsys sensorservice. Ensure that WOL is subscribed to the device
orientation listener and not the accelerometer.

Change-Id: I6a41769843eaa25d50109add3c8587fa67dfbaa7
1 file changed