commit | 278a966e80dec29219dfa1356bf4cef07096c913 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Oct 29 16:03:46 2012 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Oct 29 16:03:46 2012 -0700 |
tree | 30537811ccb14132a824e1e19e986f7c3eb4ee9c | |
parent | 83f60c5247ba60b6aa536b2d8191df9289102600 [diff] |
fix an overflow in the orientation sensonr calculations this would cause the TYPE_ORIENTATION sensor to report NaN after 40 to 800 hours of up-time. this problem only affects the older and deprecated SensorListener API. Bug: 7434842 Change-Id: Ie8593cca9c98e4907e417db4106c06151e3ee9a1