OSDN Git Service

Fix SENSOR_LANDSCAPE and SENSOR_PORTRAIT
authorJeff Brown <jeffbrown@google.com>
Sun, 23 Jan 2011 21:05:44 +0000 (13:05 -0800)
committerJeff Brown <jeffbrown@google.com>
Sun, 23 Jan 2011 21:05:44 +0000 (13:05 -0800)
commit892bd76881e2df9b4915a30144efc5428f7ab5a3
tree6cd4828e17dafbdfd05bbad2c6a57e643b46d973
parent3a27acef4e72d80bbbe0618b50785a2945ef4910
Fix SENSOR_LANDSCAPE and SENSOR_PORTRAIT

Fixed a bug in the handling of SENSOR_LANDSCAPE and SENSOR_PORTAIT
on devices that have a natural landscape orientation.  The old code
was disabling 180 degree orientation detection when it shouldn't have.

Change-Id: I484a0aa44b3b8267a7d3b74bdf39c296faa7c6e3
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java