278a966e80dec29219dfa1356bf4cef07096c913 |
|
30-Oct-2012 |
Mathias Agopian <mathias@google.com> |
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
/frameworks/base/core/java/android/hardware/LegacySensorManager.java
|