History log of /frameworks/base/policy/src/com/android/internal/policy/impl/WindowOrientationListener.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0abc28e1141aa5afb1a4e3dc65a8c658dc7ebbf8 26-Jun-2014 Jaewan Kim <jaewan@google.com> Fix NPE in dumpsys window

This crashes with an Android TV without sensor (i.e. TV)

Change-Id: I5e461c6344811686f58860d427598626efdf0184
/frameworks/base/policy/src/com/android/internal/policy/impl/WindowOrientationListener.java
600f0031331314faacedbdb4d8c3e7e7dee3895a 23-May-2014 Jeff Brown <jeffbrown@google.com> Improve window orientation listener.

Take into account whether the device appeared to be overhead facing
down. If so, suppress orientation changes until the device is tilted
back upright again. This should improve behavior in situations such
as reading in bed and rolling over to one side.

Change-Id: I683515e1867626dacc71d90eaacb32e75ab41827
/frameworks/base/policy/src/com/android/internal/policy/impl/WindowOrientationListener.java
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