commit | 4bd149ef83c8e3e2ffb61885e71f44df9a9ccfa7 | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Fri Aug 03 13:54:02 2012 -0700 |
committer | Craig Mautner <cmautner@google.com> | Fri Aug 03 14:47:24 2012 -0700 |
tree | fb68ea52d2fbbb8b511c6f83911e4f722e827916 | |
parent | b92edf99ef268fe0fd76445286d720bd11f967d2 [diff] |
Do not use last app rotation as default. If the rotation sensor has been disabled we were substituting the last app rotation for the sensor value. This fix uses the last sensor value delivered before the sensor was disabled. Only use the last app rotation if we never have received a valid sensor value. Fixes bug 6387946. Change-Id: I50743c30ee2b4455e9848d3a619809be97eec3c8