commit | c2b4e21320d85d48e45f6a76e4927adb380c85b8 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Sun Jan 16 19:11:20 2011 -0800 |
committer | Mathias Agopian <mathias@google.com> | Sun Jan 16 19:11:20 2011 -0800 |
tree | f0f5a51a7b19cbde84075980caff30d8ea713f3d | |
parent | 4a2e478a5bf6b4650181d1dfa643eadcc387fcec [diff] |
fix [3355413] Gyro calls onAccuracyChanged and reports accuracy as UNRELIABLE - make sure to call onAccuracyChanged only when it actually changes - only call onAccuracyChanged on Magnetic and Orientation sensors, which are the only ones to support it. - for other sensors, call onAccuracyChanged only once with the SENSOR_STATUS_ACCURACY_HIGH value Change-Id: Ic861e3d48d3b98dab74ffebe2746576f5b69f371