eee29c445c38217e83bf421faf0f4075322079a6 |
|
17-Jan-2013 |
Craig Mautner <cmautner@google.com> |
Reset SensorEventListener when listener reenabled. - Following disable and reenable of the WindowOrientationListener the state was the same as before. State should be reset to default. - Provide a Handler to the sensor task to deliver events on the same Thread that WindowManagerPolicy operates on. - Expand lock protection to all of WindowOrientationListener. - Move WindowOrientationListener to policy package. - Make SensorEventListenerImpl non-static. Fixes bug 7964531. Change-Id: I17cecf3d0b6d125cb3e4d7350c3adb3f62b684bd
/frameworks/base/policy/src/com/android/internal/policy/impl/WindowOrientationListener.java
|