commit | 0eab8214986faf6e5ba1982b8b01c4f06d61b3c4 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Mar 07 17:49:54 2011 -0800 |
committer | Mathias Agopian <mathias@google.com> | Mon Mar 07 17:54:03 2011 -0800 |
tree | c43d1887ac6cf05baaf8814a58ddc019f9fecd3d | |
parent | c5f7f582a6b7632c34270a9d1edb04bc4b7e2640 [diff] |
fix [4026375] SensorManager quaternion functions can call sqrt with a negative number Just make sure to clamp the argument to zero. Bug: 4026375 Change-Id: I00c5f6c83659a290d5e1e191a1c8d25ec06834c2