commit | d121ac12fd44762dc7b799edb87b5f1a5c268365 | [log] [tgz] |
---|---|---|
author | Ashutosh Joshi <ashutoshj@google.com> | Fri Jan 12 15:28:28 2018 -0800 |
committer | Ashutosh Joshi <ashutoshj@google.com> | Tue Jan 16 10:58:54 2018 -0800 |
tree | 86a641d8cf3dc5cecde8f97f389552cc51367e1d | |
parent | 200cd63fb3ff5b4354773e9994f4340f18b39cbc [diff] |
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